aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-05-13 18:09:30 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-05-13 18:09:30 +0200
commited56a7ca102339d2b711ec5ca9529a02bd621a7b (patch)
tree82c49f4b61e8a69ed1549b99fe4384b6257b1f04 /misc
parent0a12c464abcc8e5bf2cc47204bd2fe74e461d443 (diff)
Parse odin version date out of HEAD commit if available
Diffstat (limited to 'misc')
-rw-r--r--misc/get-date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/get-date.c b/misc/get-date.c
index bf5b32738..b3eb1be78 100644
--- a/misc/get-date.c
+++ b/misc/get-date.c
@@ -9,5 +9,5 @@
int main(int arg_count, char const **arg_ptr) {
time_t t = time(NULL);
struct tm* now = localtime(&t);
- printf("%04d%02d%02d", now->tm_year + 1900, now->tm_mon + 1, now->tm_mday);
+ printf("%04d-%02d-%02d", now->tm_year + 1900, now->tm_mon + 1, now->tm_mday);
} \ No newline at end of file