Commit Graph

13 Commits

Author SHA1 Message Date
Bob Weinand
b22caa81ee Remove useless date warning 2015-02-27 23:27:09 +01:00
Anatoliy Belsky
aa6ad6bc09 Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
The behaviour on windows is to select an arbitrary timezone from the current system settings.
This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose
from the multiple names like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made for windows.
2012-04-10 12:16:38 +02:00
Derick Rethans
37d1038958 - Removed support for putenv("TZ=..") for setting the timezone.
- Removed the timezone guessing algorithm in case the timezone isn't set with
  date.timezone or date_default_timezone_set(). Instead of a guessed timezone,
  "UTC" is now used instead.
2011-09-13 14:48:13 +00:00
Pierre Joye
8b719e817e - TZ auto detection varies, not always UTC 2011-09-13 13:39:49 +00:00
Derick Rethans
0e1277e317 - Elevate no-tz setting made from E_STRICT to E_WARNING.
#- [DOC]
2009-01-27 13:44:38 +00:00
Derick Rethans
2dcdf6769a - Fixed bug #35660 (AIX TZ variable format not understood, yields UTC timezone). 2005-12-20 19:50:05 +00:00
Derick Rethans
1394b48d21 - Reintroduced the normal constants.
- Made the test cases work with the normal non-class constants.
- Merged new timelib, which is a bit more cleverer
- Support "UTC" in strtotime() properly.
- Added astro code, which is going to form the base for the new sunfuncs.
2005-12-19 12:57:49 +00:00
Ilia Alshanetsky
3a3e7a86e8 MFB51: Fixed UTC handling problem stemming from an earlier fix for bug #35422. 2005-12-18 16:20:12 +00:00
Ilia Alshanetsky
1ceacc89f7 MFB51: fixed date tests 2005-11-29 16:25:39 +00:00
foobar
972a29d93c - Fixed error messages and tests 2005-10-19 11:18:16 +00:00
Derick Rethans
2eaf85c481 - MF51: Implemented better timezone guessing algorithm. 2005-10-01 15:07:20 +00:00
Dmitry Stogov
3102638061 Fixed tests 2005-07-20 10:06:10 +00:00
Derick Rethans
e6c1ff254d - Fixed bug #33578 (strtotime() problem with "Oct17" format).
- Fixed problems with lone years in strtotime().
- Added functions to timelib to get a list of all abbreviations and timezone
  identifiers.
- Fixed problems with parsed dates that only have GMT offsets associated
  with them.
- Fixed a Windows compile problem.
- Added special constants for different often used date formats (DATE_ISO8601,
  DATE_RFC822, DATE_RSS etc).
- Fixed date_default_timezone_get() to return the guessed timezone if none
  was set yet with date_default_timezone_set().
- Added experimental support for Date/Timezone objects as per specifications.
2005-07-20 08:31:02 +00:00