Skip to content
New issue

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

date -d \"+7 days\" +%s fails on Mac #3

Open
al1p-R opened this issue Aug 11, 2019 · 0 comments
Open

date -d \"+7 days\" +%s fails on Mac #3

al1p-R opened this issue Aug 11, 2019 · 0 comments

Comments

@al1p-R
Copy link

al1p-R commented Aug 11, 2019

Please note that on MacOS implementation of date:

 -d dst  Set the kernel's value for daylight saving time.  

Therefore date -d \"+7 days\" +%s fails
(lines 8 & 9 of package.json)

The following works fine :
date -d date -v +7d +%

Thank you for your great work and precise explanations !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant