-
-
Notifications
You must be signed in to change notification settings - Fork 757
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
Use --timestamp in placeholders if given #5472
Use --timestamp in placeholders if given #5472
Conversation
Looks good. Some questions:
|
Also: can you please rebase on current master and push -f, so that the CI via github workflows kicks in? |
af4204b
to
3644bd1
Compare
Lines 687 to 689 in 47e96bc
I'm not sure if getting the value from My system has tzoffset -08:00 but that shouldn't matter as all the times involved are UTC. I tried changing my system's timezone and rerunning the tests, everything worked the same. |
Thanks! Would you like to do a backport to 1.1-maint, so it gets into next 1.1.x release? |
https://github.com/borgbackup/borg/pull/5472/checks?check_run_id=1349770343 hmm, can we find out why ubuntu / py37 is hanging? |
Sure, I'll backport. |
I can't reproduce the py37 hang on my local machine, although I'm not running Ubuntu. But the 1.1 backport passed CI just fine. |
Fixes #5189.
{now}
and{utcnow}
will take the value of--timestamp
if given. I also added a test for this functionality.