Improve the message.
This commit is contained in:
parent
5c966c62d4
commit
16830b8b92
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ class PasswordStore {
|
||||||
let currentDate = Date()
|
let currentDate = Date()
|
||||||
var autoFormattedDifference: String
|
var autoFormattedDifference: String
|
||||||
if currentDate.timeIntervalSince(lastCommitDate) <= 60 {
|
if currentDate.timeIntervalSince(lastCommitDate) <= 60 {
|
||||||
autoFormattedDifference = "just now"
|
autoFormattedDifference = "Just now"
|
||||||
} else {
|
} else {
|
||||||
let diffDate = Calendar.current.dateComponents([.year, .month, .day, .hour, .minute], from: lastCommitDate, to: currentDate)
|
let diffDate = Calendar.current.dateComponents([.year, .month, .day, .hour, .minute], from: lastCommitDate, to: currentDate)
|
||||||
let dateComponentsFormatter = DateComponentsFormatter()
|
let dateComponentsFormatter = DateComponentsFormatter()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue