Use system tzinfo instead of compiling it into the binary

This commit is contained in:
Joscha 2021-11-22 00:42:55 +01:00
parent 36aa6abcb9
commit d7df47eba4
6 changed files with 46 additions and 207 deletions

View file

@ -1,7 +1,6 @@
use std::path::PathBuf;
use chrono::NaiveDate;
use chrono_tz::Tz;
#[derive(Debug)]
pub struct Time {
@ -331,6 +330,6 @@ pub enum Command {
pub struct File {
pub name: PathBuf,
pub includes: Vec<PathBuf>,
pub timezone: Option<Tz>,
pub timezone: Option<String>,
pub commands: Vec<Command>,
}