[phpwslistings-dev] [ phpwslistings-Bugs-737398 ] Timestamp/mktime problem Windows
Brought to you by:
rizzo,
wendall911
From: SourceForge.net <no...@so...> - 2003-05-14 00:44:04
|
Bugs item #737398, was opened at 2003-05-13 17:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=538274&aid=737398&group_id=73598 Category: Interface Group: None Status: Open Resolution: None Priority: 5 Submitted By: Wendall Cada (wendall911) Assigned to: Don Seiler (dtseiler) Summary: Timestamp/mktime problem Windows Initial Comment: Under windows, there is a bug associated with the date() function. In Listing.php there is a timestamp that is called from a mktime function. The daylight savings time part of the mktime(is_dst) returns -1 on a windows box. This chokes the date function, because if there is a negative int in the date() function, and error is returned. Unfortunately gmmktime has the same problem, for some reason it has daylight savings time int as well, or that function could be used. $this->_lastmodified = date("Y-m-d H:m:s T", $lmtsepoch); Not sure what the resolution for this should be. This only returns errors when returning search results. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=538274&aid=737398&group_id=73598 |