Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

81
Views
Load specific time zone in moment-timeone not all. For reduce the size of moment-timezone webpack-bundle

I want to reduce the size of moment-timezone webpack-bundle.
The following code I have written in app.js file.

window.moment = require('moment-timezone');window.moment.tz.load({
"version": "2021a",
"zones": ["Asia/Kolkata|MMT IST +0630|-5l.a -5u -6u|012121|-2zOtl.a 1r2LP.a 1un0 HB0 7zX0|15e6",
        ],
"links": ['Asia/Calcutta|Asia/Kolkata'] });
console.log(window.moment.tz.names());

Following Output I have got in console.

enter image description here

But I was expecting output only Asia/Calcutta|Asia/Kolkata

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!