summaryrefslogtreecommitdiff
path: root/src/helpers.rs
blob: c7509defcf448f5737a14b1aaecb470000bab592 (plain) (blame)
1
2
3
4
5
use chrono::{prelude::*, Utc};

pub fn current_year() -> i32 {
    Utc::now().year()
}