sourcefrog / conserve

🌲 Robust file backup tool in Rust
Other
260 stars 21 forks source link

Load timezone before starting threads #221

Closed sourcefrog closed 1 year ago

sourcefrog commented 1 year ago

time-rs now errors out if you try to get the local timezone after multiple threads have started, because of a risk that one of them might simultaneously mutate the environment. So, load and remember it early in main.

Give ShowVersionOptions a timezone offset rather than just a utc bool.