|
3 | 3 | // For the full copyright and license information, please view the LICENSE
|
4 | 4 | // file that was distributed with this source code.
|
5 | 5 | //
|
6 |
| -// spell-checker: ignore: AEDT AEST EEST NZDT NZST |
| 6 | +// spell-checker: ignore: AEDT AEST EEST NZDT NZST Kolkata |
7 | 7 |
|
8 | 8 | use chrono::{DateTime, Datelike, Duration, NaiveTime, Utc}; // spell-checker:disable-line
|
9 | 9 | use regex::Regex;
|
@@ -601,8 +601,8 @@ fn test_date_tz() {
|
601 | 601 | test_tz("Australia/Sydney", JAN2, "2024-01-02 23:00:00 AEDT\n");
|
602 | 602 | test_tz("Australia/Sydney", JUL2, "2024-07-02 22:00:00 AEST\n"); // Shifts the other way.
|
603 | 603 | test_tz("Pacific/Tahiti", JAN2, "2024-01-02 02:00:00 -10\n"); // No abbreviation.
|
604 |
| - test_tz("Antarctica/South_Pole", JAN2, "2024-01-03 01:00:00 NZDT\n"); |
605 |
| - test_tz("Antarctica/South_Pole", JUL2, "2024-07-03 00:00:00 NZST\n"); |
| 604 | + test_tz("Pacific/Auckland", JAN2, "2024-01-03 01:00:00 NZDT\n"); |
| 605 | + test_tz("Pacific/Auckland", JUL2, "2024-07-03 00:00:00 NZST\n"); |
606 | 606 | }
|
607 | 607 |
|
608 | 608 | #[test]
|
@@ -634,7 +634,7 @@ fn test_date_tz_various_formats() {
|
634 | 634 | "-0800 -08:00 -08:00:00 -08 PST\n",
|
635 | 635 | );
|
636 | 636 | // Half-hour timezone
|
637 |
| - test_tz("Asia/Calcutta", JAN2, "+0530 +05:30 +05:30:00 +05:30 IST\n"); |
| 637 | + test_tz("Asia/Kolkata", JAN2, "+0530 +05:30 +05:30:00 +05:30 IST\n"); |
638 | 638 | test_tz("Europe/Berlin", JAN2, "+0100 +01:00 +01:00:00 +01 CET\n");
|
639 | 639 | test_tz(
|
640 | 640 | "Australia/Sydney",
|
|
0 commit comments