0.1.3 • Published 8 years ago

jsyg-date v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Date

Date constructor for JSYG framework or standalone

Installation

with npm
npm install jsyg-date
with bower
bower install jsyg-date

Usage

es6 modules (webpack+babel)
import JDate from "jsyg-date"

console.log( new JDate().add("1 month 2 seconds").toString() )
without bundler
<script src="node_modules/jsyg-date/JSYG.Date.js"></script>
<script>
  console.log( new JSYG.Date().add("1 month 2 seconds").toString() );
</script>