Active
Project:
Localizer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2007 at 08:36 UTC
Updated:
1 Jan 2008 at 06:56 UTC
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
Comment #1
ray007 commentedI 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 ...
Comment #2
Behrang commentedYes, 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.
Comment #3
Behrang commentedI'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, ...
Comment #4
hadi farnoud commentedi'm currently working on it and this Date-time format will be supported.we want to add it in Drupal Core, if allowed
Comment #5
sinasalek commenteddid you commit any patch?