Skip to content

Commit 0bae78c

Browse files
update zonefile slightly
1 parent d1b1cf3 commit 0bae78c

5 files changed

Lines changed: 12 additions & 11 deletions

File tree

builds/spacetime.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3866,7 +3866,8 @@
38663866
}
38673867
//keep current date, unless the month doesn't have it.
38683868
if (keepDate[unit]) {
3869-
const max = monthLengths[want.month];
3869+
const year = want.year !== undefined ? want.year : old.year();
3870+
const max = getMonthLength(want.month, year);
38703871
want.date = old.date();
38713872
if (want.date > max) {
38723873
want.date = max;

builds/spacetime.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

builds/spacetime.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

zonefile.2026.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ export default {
797797
"america/vancouver": {
798798
"offset": -7,
799799
"hem": "n",
800-
"dst": "03/08:02->11/01:02"
800+
"dst": "03/08:02->11/01:03"
801801
},
802802
"america/whitehorse": {
803803
"offset": -7,
@@ -1362,7 +1362,7 @@ export default {
13621362
"europe/chisinau": {
13631363
"offset": 3,
13641364
"hem": "n",
1365-
"dst": "03/29:02->10/25:03"
1365+
"dst": "03/29:03->10/25:04"
13661366
},
13671367
"europe/copenhagen": {
13681368
"offset": 2,

zonefile/iana.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -795,9 +795,9 @@ export default {
795795
hem: 'n'
796796
},
797797
'america/vancouver': {
798-
offset: -7,
799-
hem: 'n',
800-
dst: '03/08:02->11/01:02'
798+
"offset": -7,
799+
"hem": "n",
800+
"dst": "03/08:02->11/01:03"
801801
},
802802
'america/whitehorse': {
803803
offset: -7,
@@ -1360,9 +1360,9 @@ export default {
13601360
dst: '03/29:02->10/25:03'
13611361
},
13621362
'europe/chisinau': {
1363-
offset: 3,
1364-
hem: 'n',
1365-
dst: '03/29:02->10/25:03'
1363+
"offset": 3,
1364+
"hem": "n",
1365+
"dst": "03/29:03->10/25:04"
13661366
},
13671367
'europe/copenhagen': {
13681368
offset: 2,

0 commit comments

Comments
 (0)