summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSophie Tauchert <999eagle@999eagle.moe>2021-01-14 17:20:44 +0100
committerAbin Simon <abinsimon10@gmail.com>2021-01-14 22:24:26 +0530
commitdffc55b87bd5765602f41bd9a0342a005e9bfd40 (patch)
tree45b6804696c36dac251d10e006d28b9eb494878c
parent02441fdf38ce7a939ff4747e20f111211028c847 (diff)
Fix typo
-rw-r--r--src/meta/date.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meta/date.rs b/src/meta/date.rs
index 5671e94..c14a67f 100644
--- a/src/meta/date.rs
+++ b/src/meta/date.rs
@@ -38,7 +38,7 @@ impl Date {
DateFlag::Date => self.0.format("%c").to_string(),
DateFlag::Relative => format!("{}", HumanTime::from(self.0 - Local::now())),
DateFlag::ISO => {
- // 356.2425 * 24 * 60 * 60 = 31556952 seconds per year
+ // 365.2425 * 24 * 60 * 60 = 31556952 seconds per year
// 15778476 seconds are 6 months
if self.0 > Local::now() - Duration::seconds(15778476) {
self.0.format("%m-%d %R").to_string()