Skip to content

Commit 047592d

Browse files
committed
Fix date format
1 parent 651a77c commit 047592d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn main() {
1717

1818
fn date() -> String {
1919
let datetime = DateTime::now();
20-
format!("{:0>2}-{:0>2}-{}", datetime.day, datetime.month, datetime.year)
20+
format!("{}-{:0>2}-{:0>2}", datetime.year, datetime.month, datetime.day)
2121
}
2222

2323
fn compiler() -> String {

0 commit comments

Comments
 (0)