aboutsummaryrefslogtreecommitdiffstats
path: root/src/trial.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/trial.rs')
-rw-r--r--src/trial.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trial.rs b/src/trial.rs
index 5e398fe..2b535a7 100644
--- a/src/trial.rs
+++ b/src/trial.rs
@@ -83,7 +83,7 @@ fn initialize_trial_start() -> Result<DateTime<FixedOffset>> {
fn datetime_local_to_fixed_offset(d: DateTime<Local>) -> DateTime<FixedOffset> {
let offset = FixedOffset::from_offset(d.offset());
- DateTime::<FixedOffset>::from_utc(d.naive_local(), offset)
+ DateTime::<FixedOffset>::from_utc(d.naive_local(), FixedOffset::east(0))
}
/// Decrypts the time string from the trial file and returns it as a