Skip to content

Commit

Permalink
Use localized date/time format for backups
Browse files Browse the repository at this point in the history
  • Loading branch information
nyancrimew authored and divadsn committed Jul 23, 2018
1 parent 5fd898b commit e575a62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class NewBackupActivity : BackupBaseActivity() {
}

fun getTimestamp(): String {
val simpleDateFormat = SimpleDateFormat("dd-MM-yyyy hh:mm:ss", Locale.US)
val simpleDateFormat = SimpleDateFormat.getDateTimeInstance()
return simpleDateFormat.format(Date())
}

Expand Down

0 comments on commit e575a62

Please sign in to comment.