DEV: Use moment-timezone with 10-year range data

We do not need to use the full timezone dataset (it is a 950kb file!), only previous/next 5 years should suffice.
This commit is contained in:
Penar Musaraj 2019-05-07 23:42:49 -04:00
parent 5c0bb29461
commit 22d6203eb7
2 changed files with 474 additions and 473 deletions

View File

@ -73,7 +73,8 @@ task 'javascript:update' do
source: 'moment/locale/.',
destination: 'moment-locale',
}, {
source: 'moment-timezone/builds/moment-timezone-with-data.js'
source: 'moment-timezone/builds/moment-timezone-with-data-10-year-range.js',
destination: 'moment-timezone-with-data.js'
}, {
source: 'moment-timezone-names-translations/locales/.',
destination: 'moment-timezone-names-locale'

File diff suppressed because one or more lines are too long