https://github.com/saeidzebardast/moment-js
A Polymer element to parse, validate, manipulate, and display dates using Moment.js.
https://github.com/saeidzebardast/moment-js
moment polymer
Last synced: 7 months ago
JSON representation
A Polymer element to parse, validate, manipulate, and display dates using Moment.js.
- Host: GitHub
- URL: https://github.com/saeidzebardast/moment-js
- Owner: saeidzebardast
- License: mit
- Created: 2016-01-10T10:43:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T12:03:25.000Z (over 6 years ago)
- Last Synced: 2025-02-28T16:55:47.258Z (7 months ago)
- Topics: moment, polymer
- Language: HTML
- Homepage: http://saeidzebardast.github.io/moment-js
- Size: 3.15 MB
- Stars: 14
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# \
[](https://travis-ci.org/saeidzebardast/moment-js)
[](https://www.webcomponents.org/element/saeidzebardast/moment-js)A [Polymer](https://www.polymer-project.org) element to parse, validate, manipulate, and display dates using [Moment.js](http://momentjs.com/).
## Install
```shell
bower install moment-js
```## Usage
```html
```
## Docs & Demo
See the [component page](http://saeidzebardast.github.io/moment-js) for docs and demo.
## Running demos and tests in a browser
1. Fork the `moment-js` repository and clone it locally.
2. Make sure you have [Bower](https://bower.io) installed.
3. When in the `moment-js` directory, `polymer install` to install dependencies.
4. Run `polymer analyze moment-* > analysis.json && polymer serve --port 3000 --open`, browser will automatically open the component API documentation.
5. You can also open demo or in-browser tests by adding **demo** or **test** to the URL, for example:
- http://127.0.0.1:3000/components/moment-js/demo
- http://127.0.0.1:3000/components/moment-js/test## License
MIT © [Saeid Zebardast](http://zebardast.com)