Remove illegal characters from filename
This commit is contained in:
parent
dcc771abe7
commit
6c05366f0f
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user