Remove colons from default filename.

This commit is contained in:
akwizgran
2021-03-10 15:44:15 +00:00
parent c5d2661c1d
commit fe07b760ea

View File

@@ -226,7 +226,7 @@ public class ImageViewModel extends DbViewModel implements EventListener {
}
private String getFileName() {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss",
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd",
Locale.getDefault());
return sdf.format(new Date());
}