summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input_gadgets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input_gadgets.c b/input_gadgets.c
index 850c738..df0abe1 100644
--- a/input_gadgets.c
+++ b/input_gadgets.c
@@ -860,9 +860,9 @@ char *gadgets_retrieve_weather_warnings(char *output, int max_len)
ende += snprintf(ende, output + max_len - ende, "%s", warnings[i].event);
if (output + max_len - ende > 0) {
if (warnings[i].onset > time(NULL))
- ende += strftime(ende, output + max_len - ende, " ab %F %T", localtime(&warnings[i].onset));
+ ende += strftime(ende, output + max_len - ende, " ab %m-%d %H:%M", localtime(&warnings[i].onset));
if (warnings[i].expires < time(NULL) + warnings_future_timespan)
- ende += strftime(ende, output + max_len - ende, " bis %F %T", localtime(&warnings[i].expires));
+ ende += strftime(ende, output + max_len - ende, " bis %m-%d %H:%M", localtime(&warnings[i].expires));
if ((i+1<warnings_len) && (output + max_len - ende > 0))
ende += snprintf(ende, output + max_len - ende, "; ", warnings[i].event);
}