Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arshaw/xdate
A Modern JavaScript Date Library
https://github.com/arshaw/xdate
Last synced: 2 days ago
JSON representation
A Modern JavaScript Date Library
- Host: GitHub
- URL: https://github.com/arshaw/xdate
- Owner: arshaw
- License: gpl-2.0
- Created: 2011-08-14T08:53:19.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-07-31T15:02:07.000Z (5 months ago)
- Last Synced: 2024-11-27T18:07:37.051Z (16 days ago)
- Language: JavaScript
- Homepage: http://arshaw.com/xdate/
- Size: 4.23 MB
- Stars: 681
- Watchers: 24
- Forks: 81
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
XDate
=====A Modern JavaScript Date Library (circa 2013)
> [!IMPORTANT]
> This package is no longer actively maintained
> ([blog post](https://arshaw.com/2013/03/xdate-08-and-future-development)).
> We recommend using [temporal-polyfill](https://www.npmjs.com/package/temporal-polyfill) instead.
> It is written by the same author and implements the new standard for JavaScript dates.XDate is a thin wrapper around JavaScript's native
[Date](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date)
object and provides enhanced functionality for parsing, formatting, and manipulating dates.
It implements the same methods as the native Date, so it should seem very familiar.Also, it is non-destructive to the DOM, so it can safely be included in third party libraries
without fear of side effects.Installation:
```
npm install xdate
``````js
var XDate = require('xdate')
var d = new XDate()
```