Skip to content

Commit

Permalink
DEV: Use moment-timezone with 10-year range data
Browse files Browse the repository at this point in the history
We do not need to use the full timezone dataset (it is a 950kb file!), only previous/next 5 years should suffice.
  • Loading branch information
pmusaraj committed May 8, 2019
1 parent 5c0bb29 commit 22d6203
Show file tree
Hide file tree
Showing 2 changed files with 474 additions and 473 deletions.
3 changes: 2 additions & 1 deletion lib/tasks/javascript.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading

0 comments on commit 22d6203

Please sign in to comment.