Summary | Birthdays with year 1900 won't save correctly |
Queue | Turba |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | daviskingdom (at) gmail (dot) com |
Created | 2007-11-16 (4812 days ago) |
Due | |
Updated | 2007-11-23 (4805 days ago) |
Assigned | 2007-11-21 (4807 days ago) |
Resolved | 2007-11-23 (4805 days ago) |
Milestone | |
Patch | No |
Taken from
State ⇒ Resolved
Assigned to Jan Schneider
strftime() and mktime() implementations not properly working with
dates outside the unix epoch, resp. before 1901-12-13.
This is partially fixed so that the dates can at least be saved now,
if using the default birthday attribute. Displaying still doesn't work
becase we use the %x specifier by default which is not implemented in
my fixes yet. Note to myself: NLS::getLangInfo() provides the
necessary information, at least on *nix systems.
Assigned to
Taken from Jan Schneider
State ⇒ Assigned
Assigned to Jan Schneider
State ⇒ Resolved
month with daylight saving time, and you are using PHP 4.
Fixed in CVS.
dates before 1900. If not, what did you change? Also, which PHP
version, database and OS do you use?
in all of 1900 AND 1901. Also, they are being interpreted as 1/1/1970.
This is with latest HEAD, MySQL 4.1.something, PHP 5.2.2, checked on
various linux installs.
New Attachment: attributes.php
dates before 1900. If not, what did you change? Also, which PHP
version, database and OS do you use?
I did add some fields to the attributes.php - so perhaps it is
something I did. I've attached the file here if you're interested -
but if dates of 1900 work in the HEAD then just let me know and I'll
consider it a bug I created.
I assumed this was a bug in the HEAD that no one has caught yet.
BTW - I am running PHP 5.2.4+ on a Gentoo system on MySQL
State ⇒ Feedback
dates before 1900. If not, what did you change? Also, which PHP
version, database and OS do you use?
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Birthdays with year 1900 won't save correctly
Queue ⇒ Turba
as year 1900. When I do that, the system saves the birthday as
12/31/1969.
I tried 1901 with the same results but 1910 did work. I didn't test
1902-1909.
thanks,
Michael