start-of-week v1.7.0-next.1576624377.61ff0d5fa5abb9217b616818e8ebc63245f30059
Returns the start of the week based on the locale.
npm
pika
<script type="module">
import pkg from '//cdn.pika.dev/start-of-week/^1.7.0'
</script>unpkg
<script type="module">
import pkg from '//unpkg.com/start-of-week@^1.7.0/edition-browsers/index.js'
</script>jspm
<script type="module">
import pkg from '//dev.jspm.io/start-of-week@1.7.0'
</script>Usage
import startOfWeek from 'start-of-week'
console.log(startOfWeek) // 0 (Sunday) if North American, otherwise 1 (Monday)If you want something comprehensive, use gamtiq/weekstart instead.
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under:
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago