3 ms·
moment.js exposes i18n options[1], I'd just have to expose an API to allow you to add/set a language through their API. [1]: http://momentjs.com/docs/#/i18n/ h
by bevacqua 12y ago
moment.js exposes i18n options[1], I'd just have to expose an API to allow you to add/set a language through their API.
[1]: http://momentjs.com/docs/#/i18n/ http://momentjs.com/docs/#/i18n/
- jtheory 12y agoThis looks great. The two deal-breakers for me at the moment are the missing i18n, and support for older browsers (which I realize is increasingly rare these days, but unfortunately our webapp needs to support IE6+ for the time being. Yes, for real reasons).
- bevacqua 12y agoNow you can access moment through rome.moment, there you can do whatever you want, i18n-wise