derhuerst/parse-human-relative-time
Ver no GitHubUnable to define weekStartsOn parameter
Open
#4 aberto em 24 de fev. de 2022
enhancementhelp wanted
Métricas do repositório
- Stars
- (36 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Some countries might start the week on another day, which can be configured in date-fns weekStartsOn parameter.
Unfortunately, this cannot be passed over here due to fixed lexing: https://github.com/derhuerst/parse-human-relative-time/blob/1fd21930e4568588233f33746984a152ba9bc6ab/date-fns.js#L18
Can we figure a way, a solution, how to support such a parameter?