[Bug 6343] FR: support dates before 01/01/1970 in xarLocaleFormatDate, xarLocaleGetFormattedTime, xarLocaleGetFormattedDate and xarMLS_strftime
| Newsgroups | gmane.comp.cms.xaraya.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://bugs.xaraya.com/show_bug.cgi?id=6343 anonymous-rkeqJg16+6QVpVtQvJkt/[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[email protected] |anonymous-rkeqJg16+6QVpVtQvJkt/[email protected] Status|NEW |ASSIGNED Attachment #4102| |review? Flag| | ------- Comment #3 from anonymous-rkeqJg16+6QVpVtQvJkt/[email protected] 2009-03-07 15:08 GMT ------- Created an attachment (id=4102) --> (http://bugs.xaraya.com/attachment.cgi?id=4102&action=view) Limit negative dates only on WIN with PHP < .5.1.0 Windows XP with PHP 5.2 allows negative datetime values. So we should simply allow them. Instead of returning an empty string on older Win+PHP systems I favour to return a string like "unix-1234546". The format is of course uncommon but it is a valid date. -- Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ---- ** IMPORTANT ** READ BELOW ** ---- [Clip Me Start] -------------------------------------------------------------------------- If you wish, you can reply to this message directly **however**, make sure to use the "Reply To All" feature of your client **and** ensure that the bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have you're From or Reply-To address set to the same address you use to log into your bugzilla account or your reply will not be attached to the bug. -------------------------------------------------------------------------- [Clip Me End]