Comments (8)
Agree that this library is super awesome, but do wish it was faster
See: http://jsperf.com/momentjstz
from moment-timezone.
I don't think it's made it into a release yet, so have a look at #39 - it should help a lot here.
from moment-timezone.
@icambron Sweeeet. That made a huge difference! Thanks @caseywebdev!
from moment-timezone.
from moment-timezone.
I'm going to leave this ticket open until the release is out.
from moment-timezone.
Would it be possible to make a release with the change from #39 as 0.0.4? It's a major improvement, and I'd love to be able to get moment-timezone from npm rather than building from source.
from moment-timezone.
See #82 as well.
The speed improvements with the rewrite are pretty significant. These are the times for running all the unit tests.
original 63s
memoized 18s
precomputed 7s
from moment-timezone.
This is released in 0.1.0
.
See the performance gains here. http://jsperf.com/moment-timezone-0-1-0/3
from moment-timezone.
Related Issues (20)
- When will the moment time zone release a new releaseof Egyptian Daylight Time HOT 8
- It should throw an error when passed empty string as timezone when using moment().tz('') HOT 1
- Asia/Tehran Daylight Saving Time (DST) Not Observed in Year 2023 HOT 1
- Iana was update the timezonedb, when moment-timezone will updat? HOT 2
- new iana release announcement for version 2023b HOT 2
- Incorrect offset noticed HOT 1
- Incorrect offset noticed(PDT) HOT 1
- DST change in Egypt is not taken into account (GMT+2 => GMT+3)
- Disable daylight saving time for Asia/Tehran
- Timezone America/Monterrey not properly updated to UTC-5 HOT 7
- moment.tz returns undefined HOT 2
- Africa/Cairo 2023-4-27 add 1 day, unix value is not correct. HOT 2
- Unable to convert Device timezone HOT 1
- subtract(2, 'month').startOf('month') giving utc time without offset even if timezone is provided HOT 1
- Ignoring DST for "America/Mexico_City" Timezone HOT 1
- Egypt now in daylight savings which are not included in TZ data HOT 1
- Diffrent output in local and prod HOT 4
- Incorrect UTF characters in: date.js and date.min.js HOT 5
- Czechia and Slovakia timezone mixup HOT 1
- Not converting to Daylight Time 2023
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moment-timezone.