aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
diff options
context:
space:
mode:
authormaximilien <me@mricher.fr>2024-12-01 13:23:24 +0000
committermaximilien <me@mricher.fr>2024-12-01 13:23:24 +0000
commit3661a597fa40e6396049e4dd9fef50c14fa9e9d9 (patch)
treeb48aa0763a6d99902011b1058bf5e3273ab69d49 /src/util/config.rs
parent906c8708fd53880d998c595ccd39ab9f08866457 (diff)
parent0fd3c0e794e7b77548c4ed1c5074b299c5a5b374 (diff)
downloadgarage-3661a597fa40e6396049e4dd9fef50c14fa9e9d9.tar.gz
garage-3661a597fa40e6396049e4dd9fef50c14fa9e9d9.zip
Merge pull request 'feat: add use_local_tz configuration' (#908) from ragazenta/garage:feat/local-timezone into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/908 Reviewed-by: maximilien <me@mricher.fr>
Diffstat (limited to 'src/util/config.rs')
-rw-r--r--src/util/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index 59329c0b..a24db84e 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -27,6 +27,10 @@ pub struct Config {
#[serde(default)]
pub disable_scrub: bool,
+ /// Use local timezone
+ #[serde(default)]
+ pub use_local_tz: bool,
+
/// Automatic snapshot interval for metadata
#[serde(default)]
pub metadata_auto_snapshot_interval: Option<String>,