moment-fweek

0.1.0 • Public • Published

moment-fweek.js

This plugin provides fiscal weekly formatting for moment objects.

How to use?

Call the fweek method on any moment object. It returns an object by default and can also return a string.

moment("2013-04-01").fweek();
// {week:1, year:2013, nextYear:2014}
moment("2013-04-01").fweek().toString();
// W1 2013/14

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i moment-fweek

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • yujj