acreeger / meteor-moment-timezone Goto Github PK
View Code? Open in Web Editor NEWTimezone support for moment.js, packaged for Meteor. See http://momentjs.com/timezone
Timezone support for moment.js, packaged for Meteor. See http://momentjs.com/timezone
Any plans to update this to the current version? moment-timezone is at v0.5.0 (2015-12-28)
When calling the following code server-side :
var localLocale = moment();
localLocale.locale('fr');
var exp = 'Le '+localLocale.format('LL')+'';
I get the following error :
TypeError: Cannot call method 'longDateFormat' of null,
The exact same code returns no error on client side
Future users: Use npm moment-timezone, on meteor 1.3+
Adding this package strangely causes module loading errors in production.
Cannot find property 'easing' of undefined.
Means it's not loading jquery.
This happens when I try to use moment.tz.setDefault("America/New_York");
.
First of all moment.tz never get's defined. :(
Hi,
I'm trying my Meteor app on IE8 and I get this error:
Object doesn't support this action
On this line: https://github.com/acreeger/meteor-moment-timezone/blob/master/revert-require-shim.js#L8
Any ideas on how can this be fixed?
Hi I tried this package in [email protected] . Calling moment().tz('America/New_York') gives me an error. tz is not defined.
Is this package tested in Meteor 1.0 +? Or am I missing something?
Thanks !
Since I'm getting pressure to update my package for Meteor 0.9.0 and mine depends on yours, I'm forwarding the pressure to you. :) I see that you're working on publishing your moment pkg for 090, so it should be easy to update this package once you've done that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.