moved LOCAL_TIMEZONE to consts.rs

This commit is contained in:
2020-10-11 18:06:14 +01:00
parent 47ad3f3822
commit 7cfe62d18f
2 changed files with 7 additions and 5 deletions

View File

@ -43,4 +43,6 @@ lazy_static! {
pub static ref MIN_INTERVAL: i64 = env::var("MIN_INTERVAL").ok().map(|inner| inner.parse::<i64>().ok()).flatten().unwrap_or(600);
pub static ref MAX_TIME: i64 = env::var("MAX_TIME").ok().map(|inner| inner.parse::<i64>().ok()).flatten().unwrap_or(60*60*24*365*50);
pub static ref LOCAL_TIMEZONE: String = env::var("LOCAL_TIMEZONE").unwrap_or_else(|_| "UTC".to_string());
}