aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 01d915b..9a4aa49 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -142,7 +142,7 @@ pub fn write_ebuild(ebuild_data: EbuildConfig, ebuild_path: impl AsRef<Path>) ->
license = ebuild_data.license.trim(),
crates = ebuild_data.crates.join(""),
cargo_ebuild_ver = env!("CARGO_PKG_VERSION"),
- this_year = 1900 + time::now().tm_year,
+ this_year = time::OffsetDateTime::now_utc().year(),
)
.context(format!(
"Failed to write to {}",