Issue Type: New Feature Created: 2008-09-14T13:59:08.000+0000 Last Updated: 2008-09-17T22:13:13.000+0000 Status: Resolved Fix version(s): - 1.6.1 (15/Sep/08)
Reporter: Muhammad Hussein Fattahizadeh (sweb) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date
Related issues: Attachments:
design a base class for convert any date type such as the Islamic calendar, Iranian calendar, Hebrew, and any data type in the world that process by unix time stamp with process the time zone of client side ...
in php core doesn't any tool for get all global calendar date type. just have a Hebrew ... but the same function for convert get all data types from the same resouce (the UNIX time stamp) is very great tool for the multi languages and localization of huge portals ...
get list of the UTF-8 titles for the days of the week, title of month ... and ....
for example :convertToDate($unixtime, 'Y-m-d', ' Iranian'); /\* OUTPUT IS : 1387-06-14 \*/ ?> It's a useful feature that any framework doesn't it..
good luck and be waiting for the replay
I report this issue but the manegment block it soon and did not understand my mean.
You did not find out my mean. i know the zend have the localization classes and functions.
i tell the zend have the class and functions to CONVERT the calendar please exacly see my example.
in the many countries the people don't use the GEORGIAN date for example in Iran the people use the Iran calendar, in arab countries the peoples use the islamic date.
for example today is : 2008/09/19 but in iran today is : 1387/06/28 and in the arabic countries : 1429/09/17 and any countries have the any CALENDAR TYPE. did you find out my mean PLEASE DO NOT CLOSE THE TICKET. :(
if the Zend_Date have the convertor for convert the unix timestamp to the any calendar type and the convert the any date to unix timestamp.
it's the feature that non framework have it.
and do bugzilla for bugdatabase .. it's is the really bad...
Posted by Thomas Weidner (thomas) on 2008-09-14T14:42:45.000+0000
Localized data can already be retrieved by using Zend_Locale for all from unicode supported calendar formats like arabic, persian, coptic and much more.
Related to calendar format there exists already a proposal for this. Please see there for details. This is nothing which should be covered by a simple issue.
Posted by Thomas Weidner (thomas) on 2008-09-17T22:13:12.000+0000
I did close this ticket because it's not a bug but a feature for which already a proposal exists. In our proposal section you will find Zend_Calendar which should exactly do what you described here as problem.
It makes no sense to have existing proposals added here as bug or new feature. Please make any comment to the proposal.
Have you found an issue?
See the Overview section for more details.