fix name of exported files (correct the time)

This reverts part of a75a27ad, where this got changed presumably by mistake.
pull/337/head
Luboš Luňák 8 years ago
parent bb22972eb2
commit be9c2ff64d

@ -92,7 +92,7 @@ public abstract class DatabaseUtils
throws IOException throws IOException
{ {
SimpleDateFormat dateFormat = DateFormats.getBackupDateFormat(); 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 format = "%s/Loop Habits Backup %s.db";
String filename = String.format(format, dir.getAbsolutePath(), date); String filename = String.format(format, dir.getAbsolutePath(), date);

Loading…
Cancel
Save