Skip to content

Commit 98d3add

Browse files
committedFeb 25, 2023
Build moment-timezone 0.5.41
1 parent 78cf3ad commit 98d3add

9 files changed

+90
-78
lines changed
 

‎builds/moment-timezone-with-data-10-year-range.js

+67-67
Large diffs are not rendered by default.

‎builds/moment-timezone-with-data-10-year-range.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎builds/moment-timezone-with-data-1970-2030.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! moment-timezone.js
2-
//! version : 0.5.40
2+
//! version : 0.5.41
33
//! Copyright (c) JS Foundation and other contributors
44
//! license : MIT
55
//! github.com/moment/moment-timezone
@@ -29,7 +29,7 @@
2929
// return moment;
3030
// }
3131

32-
var VERSION = "0.5.40",
32+
var VERSION = "0.5.41",
3333
zones = {},
3434
links = {},
3535
countries = {},

‎builds/moment-timezone-with-data-1970-2030.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎builds/moment-timezone-with-data-2012-2022.js

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! moment-timezone.js
2-
//! version : 0.5.40
2+
//! version : 0.5.41
33
//! Copyright (c) JS Foundation and other contributors
44
//! license : MIT
55
//! github.com/moment/moment-timezone
@@ -29,7 +29,7 @@
2929
// return moment;
3030
// }
3131

32-
var VERSION = "0.5.40",
32+
var VERSION = "0.5.41",
3333
zones = {},
3434
links = {},
3535
countries = {},
@@ -1543,6 +1543,18 @@
15431543
]
15441544
});
15451545

1546+
function staleDataWarning() {
1547+
if (moment.suppressDeprecationWarnings === false &&
1548+
(typeof console !== 'undefined') && console.warn) {
1549+
console.warn(
1550+
'Deprecation warning: ' +
1551+
'Moment Timezone has been loaded from a file containing data from 2012 to 2022 only. ' +
1552+
'This file is out of date and may be removed in a future release. ' +
1553+
'Dates and times for the current year might be incorrect.'
1554+
);
1555+
}
1556+
}
1557+
staleDataWarning();
15461558

15471559
return moment;
15481560
}));

‎builds/moment-timezone-with-data-2012-2022.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎builds/moment-timezone-with-data.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎builds/moment-timezone-with-data.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎builds/moment-timezone.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.