Remove illegal characters from filename

This commit is contained in:
2016-03-24 18:39:32 -04:00
parent dcc771abe7
commit 6c05366f0f

View File

@@ -107,7 +107,7 @@ public class DateHelper
public static SimpleDateFormat getBackupDateFormat() public static SimpleDateFormat getBackupDateFormat()
{ {
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm", Locale.US); SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HHmmss", Locale.US);
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
return dateFormat; return dateFormat;