@@ -169,49 +169,6 @@ static void test_durations() {
169169 assert_equal (expected, tz->get_info (std::chrono::sys_time<std::chrono::years>{}));
170170}
171171
172- static void test_indian_kerguelen () {
173- // One change, no rules, no dst changes.
174-
175- // Z Indian/Kerguelen 0 - -00 1950
176- // 5 - +05
177-
178- // Make sure the entry is present in the database.
179- if (std::chrono::get_tzdb ().version < " 2024a" )
180- return ;
181-
182- const std::chrono::time_zone* tz = std::chrono::locate_zone (" Indian/Kerguelen" );
183-
184- std::chrono::sys_seconds transition =
185- to_sys_seconds (std::chrono::year (1950 ), std::chrono::January, std::chrono::day (1 ));
186-
187- assert_equal (
188- std::chrono::sys_info (
189- std::chrono::sys_seconds::min (), //
190- transition, //
191- std::chrono::seconds (0 ), //
192- std::chrono::minutes (0 ), //
193- " -00" ), //
194- tz->get_info (std::chrono::sys_seconds::min ()));
195-
196- assert_equal (
197- std::chrono::sys_info (
198- std::chrono::sys_seconds::min (), //
199- transition, //
200- std::chrono::seconds (0 ), //
201- std::chrono::minutes (0 ), //
202- " -00" ), //
203- tz->get_info (transition - std::chrono::seconds{1 }));
204-
205- assert_equal (
206- std::chrono::sys_info (
207- transition, //
208- std::chrono::sys_seconds::max (), //
209- std::chrono::hours (5 ), //
210- std::chrono::minutes (0 ), //
211- " +05" ), //
212- tz->get_info (transition));
213- }
214-
215172static void test_antarctica_syowa () {
216173 // One change, no rules, no dst changes
217174 // This change uses an ON field with a day number
@@ -1343,7 +1300,6 @@ int main(int, const char**) {
13431300 // Basic tests
13441301 test_gmt ();
13451302 test_durations ();
1346- test_indian_kerguelen ();
13471303 test_antarctica_syowa ();
13481304 test_asia_hong_kong ();
13491305 test_europe_berlin ();
0 commit comments