mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Remove illegal characters from filename
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user