We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some countries might start the week on another day, which can be configured in date-fns weekStartsOn parameter.
weekStartsOn
Unfortunately, this cannot be passed over here due to fixed lexing:
parse-human-relative-time/date-fns.js
Line 18 in 1fd2193
Can we figure a way, a solution, how to support such a parameter?
The text was updated successfully, but these errors were encountered:
Huh, this is a tricky problem.
Without trying it out, I think the best way is to
opt = {}
createParse
const {weekStartsOn} = {weekStartsOn: 0, ...opt}
cmd
date-fns
args = [...args, {weekStartsOn}]
PR welcome!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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:
parse-human-relative-time/date-fns.js
Line 18 in 1fd2193
Can we figure a way, a solution, how to support such a parameter?
The text was updated successfully, but these errors were encountered: