[pango] Fix a C99 strftime incantation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix a C99 strftime incantation
- Date: Fri, 2 Aug 2019 03:57:49 +0000 (UTC)
commit 5b21b68299ceb33d42a8b76669ceeefe5c099825
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 1 23:56:04 2019 -0400
Fix a C99 strftime incantation
This is problematic when building pango as subproject
of gtk on the win32 ci.
tools/gen-script-for-lang.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/gen-script-for-lang.c b/tools/gen-script-for-lang.c
index 2f439a4e..b3238f85 100644
--- a/tools/gen-script-for-lang.c
+++ b/tools/gen-script-for-lang.c
@@ -253,7 +253,7 @@ int main (void)
max_script_len = MAX (max_script_len, j);
}
- if ((t = time(NULL), tmp = localtime (&t)) && strftime(date_buf, sizeof(date_buf), "%F", tmp))
+ if ((t = time(NULL), tmp = localtime (&t)) && strftime(date_buf, sizeof(date_buf), "%Y-%m-%d", tmp))
date_str = date_buf;
fc_version = FcGetVersion ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]