date-utils

WebJar for date-utils

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

date-utils
Last Version

Last Version

1.2.21
Release Date

Release Date

Type

Type

jar
Description

Description

date-utils
WebJar for date-utils
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/JerrySievert/date-utils

Download date-utils

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/date-utils/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>date-utils</artifactId>
    <version>1.2.21</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/date-utils/
implementation 'org.webjars.npm:date-utils:1.2.21'
// https://jarcasting.com/artifacts/org.webjars.npm/date-utils/
implementation ("org.webjars.npm:date-utils:1.2.21")
'org.webjars.npm:date-utils:jar:1.2.21'
<dependency org="org.webjars.npm" name="date-utils" rev="1.2.21">
  <artifact name="date-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='date-utils', version='1.2.21')
)
libraryDependencies += "org.webjars.npm" % "date-utils" % "1.2.21"
[org.webjars.npm/date-utils "1.2.21"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.2.21