From 3da9008fdc91303f433564d9f8e5bc90cdce7353 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sat, 18 Feb 2023 00:03:46 +0100 Subject: [PATCH] $$DATE is fixed. --- src/utils/time.c | 2 +- src/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/time.c b/src/utils/time.c index 4117a5b98..18d8a588f 100644 --- a/src/utils/time.c +++ b/src/utils/time.c @@ -22,6 +22,6 @@ const char *date_get(void) time(&rawtime); timeinfo = localtime(&rawtime); scratch_buffer_clear(); - scratch_buffer_printf("%02d-%02d-%02d", timeinfo->tm_year + 1900, timeinfo->tm_mon, timeinfo->tm_mday); + scratch_buffer_printf("%02d-%02d-%02d", timeinfo->tm_year + 1900, timeinfo->tm_mon + 1, timeinfo->tm_mday); return scratch_buffer_copy(); } \ No newline at end of file diff --git a/src/version.h b/src/version.h index a6a08e4d7..b11c77a21 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define COMPILER_VERSION "0.4.72" \ No newline at end of file +#define COMPILER_VERSION "0.4.73" \ No newline at end of file