Skip to content

kissyteam/gregorian-calendar-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gregorian-calendar-format


format gregorian-calendar instance

gregorian-calendar-format NPM downloads Build Status Coverage Status Dependency Status Bower version node version

use on node

var DateTimeFormat = require('gregorian-calendar-format');
var GregorianCalendar = require('gregorian-calendar');
var gregorianCalendar = new GregorianCalendar(2013,
    GregorianCalendar.JULY, 9);
var df = new DateTimeFormat('yyyy-MM-dd');
console.log(df.format(gregorianCalendar));
df = new DateTimeFormat('yy-MM-dd');
console.log(df.format(gregorianCalendar));

About

format gregorian-calendar

Resources

Stars

Watchers

Forks

Packages

No packages published