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 -v+1d command is not compatible with GNU Linux date #126

Closed
roman-gabdrakhmanov-nebius opened this issue Dec 22, 2024 · 1 comment
Closed

Comments

@roman-gabdrakhmanov-nebius

date -v+1d is not compatible with GNU version of date found in Linux distros

https://github.com/nebius/nebius-solution-library/blob/911004e3faeb9ec1f8095cbcb3548ea3fed23871/soperator/installations/example/.envrc#L83C19-L83C51

# macOS
date -v+1d '+%Y-%m-%dT%H:%M:%SZ'

# Linux
date -d '+1 day' '+%Y-%m-%dT%H:%M:%SZ'
@roman-gabdrakhmanov-nebius
Copy link
Author

fixed with f3dcd35

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