Merge pull request #337 from llunak/export_name
fix name of exported files (correct the time)
This commit is contained in:
commit
6c66078a65
@ -92,7 +92,7 @@ public abstract class DatabaseUtils
|
||||
throws IOException
|
||||
{
|
||||
SimpleDateFormat dateFormat = DateFormats.getBackupDateFormat();
|
||||
String date = dateFormat.format(DateUtils.getStartOfToday());
|
||||
String date = dateFormat.format(DateUtils.getLocalTime());
|
||||
String format = "%s/Loop Habits Backup %s.db";
|
||||
String filename = String.format(format, dir.getAbsolutePath(), date);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user