Home
last modified time | relevance | path

Searched refs:timezone (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/php-src/ext/date/tests/
H A Dbug66985.phpt24 [timezone] => CST6CDT
29 [timezone] => Cuba
34 [timezone] => Egypt
39 [timezone] => Eire
59 [timezone] => GMT0
79 [timezone] => Iran
94 [timezone] => Japan
104 [timezone] => Libya
154 [timezone] => W-SU
159 [timezone] => UTC
[all …]
H A Dini_set_incorrect-002.phpt4 date.timezone=UTC
7 echo ini_get("date.timezone"), "\n";
9 ini_set("date.timezone", "foo");
10 echo ini_get("date.timezone"), "\n";
12 ini_set("date.timezone", "Europe/London");
13 echo ini_get("date.timezone"), "\n";
15 ini_set("date.timezone", "Mars/Valles_Marineris");
16 echo ini_get("date.timezone"), "\n";
21 Warning: ini_set(): Invalid date.timezone value 'foo', using 'UTC' instead in %sini_set_incorrect-0…
25 Warning: ini_set(): Invalid date.timezone value 'Mars/Valles_Marineris', using 'Europe/London' inst…
H A DDateTimeZone_set_state_exception.phpt6 [ 'timezone_type' => 1, 'timezone' => "+02:30" ],
7 [ 'timezone_type' => 3, 'timezone' => "Europe/Kyiv" ],
8 [ 'timezone_type' => 1.4, 'timezone' => "+02:30" ],
9 [ 'timezone_type' => 3.4, 'timezone' => "Europe/Kyiv" ],
10 [ 'timezone_type' => 1, 'timezone' => 2.5 ],
11 [ 'timezone_type' => 3, 'timezone' => 2.5 ],
12 [ 'timezone_type' => 3, 'timezone' => "Europe/K\0v" ],
13 [ 'timezone_type' => 3, 'timezone' => "99:99:99" ],
14 [ 'timezone_type' => 3, 'timezone' => "Europe/Lviv" ],
15 [ 'timezone_type' => 4, 'timezone' => "Europe/Kyiv" ],
H A DDateTime_set_state_exception.phpt7 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 1, 'timezone' => "+02:30" ],
8 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3, 'timezone' => "Europe/Kyiv" ],
10 [ 'date' => 2023.113, 'timezone_type' => 1, 'timezone' => "+02:30" ],
11 [ 'date' => 2023.113, 'timezone_type' => 3, 'timezone' => "Europe/Kyiv" ],
12 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 1.4, 'timezone' => "+02:30" ],
13 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3.4, 'timezone' => "Europe/Kyiv" ],
14 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 1, 'timezone' => 2.5 ],
15 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3, 'timezone' => 2.5 ],
16 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3, 'timezone' => "Europe/Lviv" ],
17 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 4, 'timezone' => "Europe/Kyiv" ],
H A DDateTimeImmutable_set_state_exception.phpt6 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 1, 'timezone' => "+02:30" ],
7 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3, 'timezone' => "Europe/Kyiv" ],
8 [ 'date' => 2023.113, 'timezone_type' => 1, 'timezone' => "+02:30" ],
9 [ 'date' => 2023.113, 'timezone_type' => 3, 'timezone' => "Europe/Kyiv" ],
10 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 1.4, 'timezone' => "+02:30" ],
11 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3.4, 'timezone' => "Europe/Kyiv" ],
12 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 1, 'timezone' => 2.5 ],
13 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3, 'timezone' => 2.5 ],
14 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 3, 'timezone' => "Europe/Lviv" ],
15 [ 'date' => "2023-01-13 12:29:30", 'timezone_type' => 4, 'timezone' => "Europe/Kyiv" ],
H A Dbug78139.phpt2 Bug #78139 (timezone_open accepts invalid timezone string argument)
35 ["timezone"]=>
42 Warning: timezone_open(): Unknown or bad timezone (x UTC) in %sbug78139.php on line %d
44 DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (x UTC)
49 Warning: timezone_open(): Unknown or bad timezone (xx UTC) in %sbug78139.php on line %d
51 DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (xx UTC)
56 Warning: timezone_open(): Unknown or bad timezone (xUTC) in %sbug78139.php on line %d
58 DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (xUTC)
63 Warning: timezone_open(): Unknown or bad timezone (UTCx) in %sbug78139.php on line %d
65 DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (UTCx)
[all …]
H A DDateTimeZone_serialization.phpt12 'timezone' => 'Europe/London',
20 'timezone' => 'CEST',
28 'timezone' => '+0130',
38 ["timezone"]=>
44 ["timezone"]=>
50 ["timezone"]=>
56 ["timezone"]=>
H A DcreateFromTimestamp.phpt67 ["timezone"]=>
75 ["timezone"]=>
83 ["timezone"]=>
91 ["timezone"]=>
99 ["timezone"]=>
107 ["timezone"]=>
115 ["timezone"]=>
123 ["timezone"]=>
131 ["timezone"]=>
139 ["timezone"]=>
[all …]
H A Dtimezone_open_warning.phpt7 foreach( $timezones as $timezone )
9 $d = timezone_open( $timezone );
11 echo "In: {$timezone}; Out: ", $d->getName(), "\n";
19 Warning: timezone_open(): Unknown or bad timezone (2.5) in %stimezone_open_warning.php on line 6
21 Warning: timezone_open(): Unknown or bad timezone (99:60) in %stimezone_open_warning.php on line 6
23 Warning: timezone_open(): Unknown or bad timezone (Europe/Lviv) in %stimezone_open_warning.php on l…
H A DDateTime_serialization.phpt29 'timezone' => 'UTC',
39 'timezone' => 'CEST',
47 'timezone' => '+0130',
60 ["timezone"]=>
66 …:"date";s:26:"2022-04-14 11:27:42.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Lon…
75 ["timezone"]=>
86 ["timezone"]=>
97 ["timezone"]=>
108 ["timezone"]=>
116 ["timezone"]=>
H A DDateTimeImmutable_serialization.phpt29 'timezone' => 'UTC',
39 'timezone' => 'CEST',
47 'timezone' => '+0130',
60 ["timezone"]=>
66 …:"date";s:26:"2022-04-14 11:27:42.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Lon…
75 ["timezone"]=>
86 ["timezone"]=>
97 ["timezone"]=>
108 ["timezone"]=>
116 ["timezone"]=>
H A Dgh7758.phpt17 [timezone] => +00:00
23 [timezone] => +00:00
29 [timezone] => +00:00
35 [timezone] => +00:00
41 [timezone] => +00:00
H A Dtest-parse-from-format.phpt33 ["timezone"]=>
44 ["timezone"]=>
55 ["timezone"]=>
66 ["timezone"]=>
77 ["timezone"]=>
88 ["timezone"]=>
99 ["timezone"]=>
110 ["timezone"]=>
121 ["timezone"]=>
132 ["timezone"]=>
[all …]
H A DDateTimeImmutable_createFromInterface-001.phpt4 date.timezone=Europe/London
37 ["timezone"]=>
45 ["timezone"]=>
53 ["timezone"]=>
61 ["timezone"]=>
69 ["timezone"]=>
77 ["timezone"]=>
H A DDateTime_createFromInterface-001.phpt4 date.timezone=Europe/London
37 ["timezone"]=>
45 ["timezone"]=>
53 ["timezone"]=>
61 ["timezone"]=>
69 ["timezone"]=>
77 ["timezone"]=>
H A DDateTimeImmutable_createFromInterface-002.phpt4 date.timezone=Europe/London
39 ["timezone"]=>
47 ["timezone"]=>
55 ["timezone"]=>
63 ["timezone"]=>
71 ["timezone"]=>
79 ["timezone"]=>
H A DDateTime_createFromInterface-002.phpt4 date.timezone=Europe/London
39 ["timezone"]=>
47 ["timezone"]=>
55 ["timezone"]=>
63 ["timezone"]=>
71 ["timezone"]=>
79 ["timezone"]=>
H A Dbug70277.phpt5 $timezone = "Europe/Zurich\0Foo";
7 var_dump(timezone_open($timezone));
12 var_dump(new DateTimeZone($timezone));
18 ValueError: timezone_open(): Argument #1 ($timezone) must not contain any null bytes
19 ValueError: DateTimeZone::__construct(): Argument #1 ($timezone) must not contain any null bytes
H A DcreateFromTimestamp_32bit.phpt8 date.timezone=Europe/London
46 ["timezone"]=>
54 ["timezone"]=>
62 ["timezone"]=>
70 ["timezone"]=>
78 ["timezone"]=>
86 ["timezone"]=>
94 ["timezone"]=>
102 ["timezone"]=>
110 ["timezone"]=>
[all …]
H A Dbug67308.phpt4 date.timezone=America/Vancouver
8 …:3:{s:4:"date";s:19:"2005-07-14 22:30:41";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Lon…
11 …:"date";s:26:"2005-07-14 22:30:41.123456";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Lon…
19 ["timezone"]=>
27 ["timezone"]=>
H A DDateTime_wakeup_exception.phpt6 …:"date";s:26:"2023-01-13 14:48:01.705516";s:13:"timezone_type";i:3;s:8:"timezone";s:13:"Europe/Lon…
7 'O:8:"DateTime":3:{s:4:"date";i:3;s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}',
8 …:"date";s:26:"2023-01-13 14:48:01.705516";s:13:"timezone_type";s:1:"X";s:8:"timezone";s:3:"UTC";}',
9 …{s:4:"date";s:26:"2023-01-13 14:48:01.705516";s:13:"timezone_type";i:4;s:8:"timezone";s:3:"UTC";}',
10 …:"date";s:26:"2023-01-13 14:48:01.705516";s:13:"timezone_type";i:3;s:8:"timezone";s:11:"Europe/Lvi…
11 …:"date";s:26:"2023-01-13 14:48:01.705516";s:13:"timezone_type";i:3;s:8:"timezone";s:11:"Europe/Kyi…
12 …:"date";s:26:"2023-01-13 14:48:01.705516";s:13:"timezone_type";i:3;s:8:"timezone";s:1:"Europe/Kyiv…
H A Dbug46111.phpt9 print "[strtotime(timezone) == false - Begin List]\n";
17 print "[strtotime(timezone) == false - End List]\n";
20 [strtotime(timezone) == false - Begin List]
21 [strtotime(timezone) == false - End List]
H A DDateTime_setTimezone_basic1.phpt11 echo "Default timezone: " . date_timezone_get($datetime)->getName() . "\n";
15 echo "New timezone: " . date_timezone_get($datetime)->getName() . "\n";
20 Default timezone: Europe/London
21 New timezone: America/Los_Angeles
H A Ddate_timezone_set_basic1.phpt12 echo "Default timezone: " . timezone_name_get($tz) . "\n";
19 echo "New timezone: " . timezone_name_get($tz) . "\n";
24 Default timezone: Europe/London
25 New timezone: America/Los_Angeles
H A Dbug54340.phpt4 date.timezone=UTC
26 ["timezone"]=>
34 ["timezone"]=>
42 ["timezone"]=>

Completed in 27 milliseconds

12345678910>>...18