We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 107d012 commit e041aacCopy full SHA for e041aac
build.rs
@@ -2,7 +2,6 @@ use std::env;
2
use time::{format_description, OffsetDateTime};
3
4
fn main() -> Result<(), Box<dyn std::error::Error>> {
5
-
6
let format = format_description::parse("[year repr:last_two][month][day][hour][minute]")?;
7
let dt = OffsetDateTime::now_utc().format(&format)?;
8
println!("cargo:rustc-env=PACKAGE_COMPILE_TIME={}", dt);
0 commit comments