Support for different calendars other that Gregorian (such as Jalali Calendar) is needed. There should be a way to add different calendars to this module because different locales may need a calendar other that the default Gregorian. Also date and time formats should be configurable for each locale and for each calendar!

I think Unix timestamps can help for supporting calendars. If there would be a infrastructure for adding calendars, developers would help to add actual calendars.

Comments

ray007’s picture

I hadn't thought about different calendar systems yet, but we definitely need different date-formats for different locales.
That means localizing the entries in admin/settings/date-time and maybe some magic for cck date and datestamp fields, which is probably the harder part ...

Behrang’s picture

Yes, but I think if calendar system is designed first, it will make adding date-formats later easier.

I think that user must be able to add calendars from a list of calendars, or just giving it a title, and somehow giving it the formula to calculate the date passed to it, based on a time stamp.

Then, each calendar can have date-formats, like long, medium, and short, which user can select from or enter the pattern.

CLDR has some info about calendars, and they are already localized. Maybe they can help here.

Behrang’s picture

I'm interested in calendar systems. If you agree, and help me, I can start this part.

I don't have any experience in developing PHP and drupal modules, but I think I can help. I have some experience with Java, ActionScript, ColdFusion, ...

hadi farnoud’s picture

i'm currently working on it and this Date-time format will be supported.we want to add it in Drupal Core, if allowed

sinasalek’s picture

did you commit any patch?