diff options
Diffstat (limited to 'src/iter/mod.rs')
-rw-r--r-- | src/iter/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iter/mod.rs b/src/iter/mod.rs index 29e86e0..dc7c51d 100644 --- a/src/iter/mod.rs +++ b/src/iter/mod.rs @@ -320,7 +320,7 @@ pub fn remove_filtered_days( } pub fn build_timeset(options: &ParsedOptions) -> Vec<Time> { - let millisecond_mod = (options.dtstart.timestamp_millis() & 1000) as usize; + let millisecond_mod = (options.dtstart.timestamp_millis() % 1000) as usize; if options.freq > Frequenzy::Daily { return vec![]; |