Use --timestamp in placeholders if given#5472
Use --timestamp in placeholders if given#5472ThomasWaldmann merged 2 commits intoborgbackup:masterfrom
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--timestampif given. I also added a test for this functionality.