From 71c698ececf20f3aac3ae3c0465ad24d85cb42a1 Mon Sep 17 00:00:00 2001 From: miguel Date: Fri, 10 Jun 2016 16:41:46 +0200 Subject: [PATCH] Prevent duplicate file names for images saved at the same second --- .idea/.name | 1 - .../fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 .idea/.name diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index 6cfa205..0000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -RxPaparazzo \ No newline at end of file diff --git a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java b/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java index dce3dde..e1893fd 100644 --- a/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java +++ b/rx_paparazzo/src/main/java/com/fuck_boilerplate/rx_paparazzo/interactors/SaveImage.java @@ -46,7 +46,7 @@ import rx.functions.Func3; public final class SaveImage extends UseCase { - private static final String DATE_FORMAT = "ddMMyyyy_HHmmss"; + private static final String DATE_FORMAT = "ddMMyyyy_HHmmss.SSS"; private static final String LOCALE_EN = "en"; private final TargetUi targetUi; private final Config config;