Skip to content

gfke/period-format

Repository files navigation

gfk-period-format

A module to provide different format options for a period

Install

$ npm install --save gfk-period-format

Usage

var periodFormat = require('gfk-period-format');
periodFormat(); // "awesome"

API

getIsoWeekNoFromTime (time);
getIsoWeekYearFromTime (time, short); 
getQuarterNoFromTime (time); 
getHalfyearNoFromTime (time); 

License

Copyright (c) 2015. Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published