Improve the message.

This commit is contained in:
Yishi Lin 2017-03-03 20:16:06 +08:00
parent 5c966c62d4
commit 16830b8b92

View file

@ -400,7 +400,7 @@ class PasswordStore {
let currentDate = Date()
var autoFormattedDifference: String
if currentDate.timeIntervalSince(lastCommitDate) <= 60 {
autoFormattedDifference = "just now"
autoFormattedDifference = "Just now"
} else {
let diffDate = Calendar.current.dateComponents([.year, .month, .day, .hour, .minute], from: lastCommitDate, to: currentDate)
let dateComponentsFormatter = DateComponentsFormatter()