date-utils
Date add-ons for Node.js
Last updated 4 years ago by jerrysievert .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install date-utils 
SYNC missed versions from official npm registry.

Date-Utils: Polyfills for the Date object

Build Status

NOTE

Version 2 Feature and Changes discussion is being held at https://github.com/JerrySievert/node-date-utils/issues/37

In a nutshell

  • Micro-Framework adding missing functionality to the Date object
  • Useable as a polyfill in the browser
  • Useable as a polyfill in Node.js
  • Works in CouchDB

Using within a Browser

<script type="text/javascript" src="date-utils.min.js"></script>

Using with Node.js

$ npm install date-utils

require('date-utils');

Note: This did not work in the REPL before Node.js 0.6 due to how Node.js handles context in the REPL.

Changing Languages

require('date-utils').language("es")

Supported languages:

  • Spanish - "es"
  • French - "fr"
  • Portuguese Brazilian - "pt-BR"

Documentation

Documentation (nearing completion) can be found at https://jerrysievert.github.io/date-utils

Development

Make sure you have gulp installed (npm install gulp -g). After that hit npm install to get the dependencies. Finally, hit gulp. This will build the library initially. If you make changes to the library, it will compile the minified version automatically.

Testing

$ npm test

Complexity and Minification

$ gulp

Current Tags

  • 1.2.21                                ...           latest (4 years ago)

31 Versions

  • 1.2.21                                ...           4 years ago
  • 1.2.20                                ...           4 years ago
  • 1.2.19                                ...           4 years ago
  • 1.2.18                                ...           4 years ago
  • 1.2.17                                ...           5 years ago
  • 1.2.16                                ...           6 years ago
  • 1.2.15                                ...           7 years ago
  • 1.2.14                                ...           7 years ago
  • 1.2.13                                ...           7 years ago
  • 1.2.12                                ...           8 years ago
  • 1.2.11                                ...           8 years ago
  • 1.2.10                                ...           8 years ago
  • 1.2.9                                ...           8 years ago
  • 1.2.8                                ...           8 years ago
  • 1.2.7                                ...           8 years ago
  • 1.2.5                                ...           9 years ago
  • 1.2.4                                ...           9 years ago
  • 1.2.3                                ...           9 years ago
  • 1.2.2                                ...           9 years ago
  • 1.2.1                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.1.8                                ...           9 years ago
  • 0.1.7                                ...           9 years ago
  • 0.1.6                                ...           9 years ago
  • 0.1.5                                ...           9 years ago
  • 0.1.4                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 131
This Week 440
This Month 298
Last Day 92
Last Week 386
Last Month 2,130
Dependencies (0)
None
Dev Dependencies (8)
Dependents (178)

Copyright 2014 - 2016 © taobao.org |