Does anyone know if
momentjs:meteor also includes Moment Timezone? From here I would venture that the answer is no.
It looks like it doesn’t, and moment-timezone is currently in a jumble of packages from different authors. Would be nice to get some confirmation from people who are using timezone and what package (if any) they are using.
We have been using the following in production
What’s further disappointing is getting moment, timezone and locale support all together and at their latest versions since some way or another one depends on the other and it is virtually impossible to achieve it.
mrt:moment hasn’t been updated in quite some time.
momentjs:moment is the officially supported package, but doesn’t seem to have any way to add timezone.
yeah the lack of timezone support is the reason why we don’t use the official moment package
Any news on this?
I just stumbed upon incompability issues between
'mrt:firstname.lastname@example.org', // https://atmospherejs.com/mrt/moment-timezone
'momentjs:email@example.com', // https://atmospherejs.com/momentjs/moment
'rzymek:firstname.lastname@example.org', // https://atmospherejs.com/rzymek/moment-locale-de
mrt:moment-timezone@ to the stack destroys the “to()”
Damn - how did you guys solve this?
Can you tell us the proper import for the npm package, I’m not getting it right?
The npm package includes the base code for momentjs, so no need to import this seperately. I am running Meteor 1.3, so am using:
import moment from 'moment-timezone';
then using it like this: