french-revolutionary date

Creating and modifying plugins.
Post Reply
Loris Zena

french-revolutionary date

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: french-revolutionary date

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Post Reply