summaryrefslogtreecommitdiffstats
path: root/tools/idevicedate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicedate.c')
-rw-r--r--tools/idevicedate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/idevicedate.c b/tools/idevicedate.c
index a9d78c1..505ed30 100644
--- a/tools/idevicedate.c
+++ b/tools/idevicedate.c
@@ -42,8 +42,12 @@
#ifdef _DATE_FMT
#define DATE_FMT_LANGINFO nl_langinfo (_DATE_FMT)
#else
+#ifdef WIN32
+#define DATE_FMT_LANGINFO "%a %b %#d %H:%M:%S %Z %Y"
+#else
#define DATE_FMT_LANGINFO "%a %b %e %H:%M:%S %Z %Y"
#endif
+#endif
static void print_usage(int argc, char **argv)
{