Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

arenchen/moment-fn-weekday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

moment-fn-weekday

A Moment.js plugin for Weekday functions.

Usage

getWeekdayCountInMonth([weekday])

取得在這個月份中有幾個星期 N

moment().getWeekdayCountInMonth();

or

moment().getWeekdayCountInMonth(5);

getWeekdayWeekInMonth([date])

取得該日期在當月中是第幾週星期 N

moment().getWeekdayWeekInMonth();

or

moment().getWeekdayWeekInMonth(moment('2016-10-10'));

License

Copyright © 2015 Aren Chen.

The "moment-fn-weekday" Moment.js plugin is licensed under the Apache License, Version 2.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published