Support for different calendars with different date-time formats for each locale and calendar
Behrang - February 3, 2007 - 08:36
| Project: | Localizer |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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.

#1
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 ...
#2
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.
#3
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, ...
#4
i'm currently working on it and this Date-time format will be supported.we want to add it in Drupal Core, if allowed
#5
did you commit any patch?