Elena Sharovar
Elena Sharovar
Timestamp does not depend on timezone. You can just do new Date().getTime() and in ANY timezone it will be the same value. I'll write article about that because lot of...
Hi @devansvd re-install again so that it installs 0.5.31 - yes, 0.5.29 for TypeScript was broken =(
@Ohar It works according to the documentation https://momentjs.com/timezone/docs/#/using-timezones/ > moment.tz(..., String) is used to create a moment with a time zone, > moment().tz(String) is used to change the time zone...
I just released version 0.5.32 - it has no US/Pacific-New anymore
Hi @teelau please upgrade to version 0.5.32 we released today
What is 'dic.' here? Did you mean December?
Hi @mablumen please upgrade to the latest version? This is my test with latest version: ``` console.log('Pacific/Honolulu', moment('2020-11-14T00:00:00Z').tz('Pacific/Honolulu').format()) console.log('America/Dawson', moment('2020-11-14T00:00:00Z').tz('America/Dawson').format()) console.log('America/Tijuana', moment('2020-11-14T00:00:00Z').tz('America/Tijuana').format()) console.log('America/Vancouver', moment('2020-11-14T00:00:00Z').tz('America/Vancouver').format()) console.log('Pacific/Fiji', moment('2020-11-14T00:00:00Z').tz('Pacific/Fiji').format()) ``` Pacific/Honolulu 2020-11-13T14:00:00-10:00 ---...
Hi @wangweiu - official name for Beijing timezone is Asia/Shanghai Or you think that does not suit your needs and you need Asia/Beijing timezone?
Hi @abaruah1 you expect COT or COST there right?
Yep, bug, and it happens for many timezones for date > 2039. Will be fixed in upcoming releases.