Fanstatic packaging of Moment.js
Project description
js.momentjs
Introduction
This library packages Moment.js for fanstatic.
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.momentjs) are published to some URL.
How to use?
You can import moment from js.momentjs and need it where you want these resources to be included on a page:
>>> from js.momentjs import moment >>> moment.need()
By default no locale information is included. However you can choose to include all the timezone data:
>>> from js.momentjs import moment_with_locales >>> moment_with_locales.need()
CHANGES
2.13.1 (2016-07-26)
Provides all languages as fanstatic resources.
2.13.0 (2016-06-14)
Update to moment-2.13.0 and moment-timezone-0.5.4.
2.8.3-1 (2014-11-12)
Add moment-timezone.
2.8.3 (2014-11-11)
Update to 2.8.3.
The structure of the moment.js distribution changed, you may need to update your Python imports.
2.6.0-1 (2014-05-22)
Add timezone plugin and its data file containing all the timezone information.
2.6.0 (2014-05-04)
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file js.momentjs-2.13.1.tar.gz
.
File metadata
- Download URL: js.momentjs-2.13.1.tar.gz
- Upload date:
- Size: 327.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dda9f0a357d5eda20914cf53afa1ff20f497c5d4555d8454cf7d4722f14d645 |
|
MD5 | a3845f63ef22343e74267241fcdfd270 |
|
BLAKE2b-256 | 1cfeeb7e67b19de9a5fd7c18102d3aa9c05dfedcc8d5e482e75c6a567770e45b |