Page 1 of 1

french-revolutionary date

Posted: Mon Jan 09, 2006 10:52 am
by Loris Zena
I made a date converter to have shown instead of usual date the french-revolutionary one (someone would ask "why?". Why not!).
Someone can tell me where in the code of serendipity files I can find the function that shows dates on the index? I scroll the file but I wasn't able to find it. Please help me!

Re: french-revolutionary date

Posted: Mon Jan 09, 2006 12:26 pm
by garvinhicking
You might want to search the code of the serendipity 1.0-alpha nightlies for the string "gregorian". We already have support for a "jalali" and "gregorian" calendar, so I figure it must be easy to add a "french" calendar type as well!

The code is scattered throughout some files, so it would be good to do a full file + subdirectory search for that string.

Best regards,
Garvin

Posted: Mon Jan 09, 2006 10:52 pm
by judebert
On the other hand, if this is a Smarty converter, you could edit your entries.tpl to use your new converter wherever you see the |dateformat converter.