aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew <dev@mtbk.me>2021-08-02 22:04:07 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-08-02 22:05:11 -0700
commitce8b3d6f9ec67a1a86cf2dfab44d12eee6f40cd1 (patch)
treef10ac6834bc6dcd1f07985cc8c10794a0264a21e /src
parentsrc/license.rs: add Apache-2.0-with-LLVM-exceptions (diff)
downloadcargo-ebuild-ce8b3d6f9ec67a1a86cf2dfab44d12eee6f40cd1.tar.gz
cargo-ebuild-ce8b3d6f9ec67a1a86cf2dfab44d12eee6f40cd1.tar.bz2
cargo-ebuild-ce8b3d6f9ec67a1a86cf2dfab44d12eee6f40cd1.zip
Update dependencies0.3.3
Closes: https://github.com/gentoo/cargo-ebuild/pull/13 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
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 {}",