Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

weekday

import weekday from "@kel/weekday";

weekday("2025-01-15");   // "Wednesday"
weekday("2001-09-11");  // "Tuesday"
weekday("1969-07-20");  // "Sunday"
weekday();             // today

weekday.short("2025-01-15");  // "Wed"
weekday.mini("2025-01-15");  // "We"

Does not use Date.prototype.getDay(). Does not depend on Intl. Does not care about your locale.

It just knows.


Made by Kelender.

About

What day of the week was it?

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors