diff options
author | Matthew <dev@mtbk.me> | 2021-08-02 22:04:07 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-08-02 22:05:11 -0700 |
commit | ce8b3d6f9ec67a1a86cf2dfab44d12eee6f40cd1 (patch) | |
tree | f10ac6834bc6dcd1f07985cc8c10794a0264a21e /src | |
parent | src/license.rs: add Apache-2.0-with-LLVM-exceptions (diff) | |
download | cargo-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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 {}", |