date-utils

WebJar for date-utils

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

date-utils
Последняя версия

Последняя версия

1.2.21
Дата

Дата

Тип

Тип

jar
Описание

Описание

date-utils
WebJar for date-utils
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать date-utils

Как подключить последнюю версию

<!-- 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"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.2.21