From 3e7e89f38b4167e55958900555a0c1244dc6494e Mon Sep 17 00:00:00 2001 From: Lotto Date: Sun, 18 Feb 2018 00:10:00 +0100 Subject: [PATCH] screenshot-plugin: adjust time/date format to not include spaces --- .../runelite/client/plugins/screenshot/ScreenshotPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java index 8f5bdac0fa..4f37257ded 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotPlugin.java @@ -96,7 +96,7 @@ public class ScreenshotPlugin extends Plugin private static final MediaType JSON = MediaType.parse("application/json"); private static final DateFormat DATE_FORMAT = new SimpleDateFormat("MMM. dd, yyyy", Locale.US); - private static final DateFormat TIME_FORMAT = new SimpleDateFormat("h.m.s a d MMM. yyyy", Locale.US); + private static final DateFormat TIME_FORMAT = new SimpleDateFormat("yyyy-MM-dd_HH-mm-ss", Locale.US); private static final Pattern NUMBER_PATTERN = Pattern.compile("([0-9]+)");