Use relative time format for Last Updated
This commit is contained in:
@@ -61,7 +61,7 @@ public struct EditProfileView: View {
|
||||
}
|
||||
if profile.type == .remote {
|
||||
Section("Status") {
|
||||
FormTextItem("Last Updated", profile.lastUpdated!.myFormat)
|
||||
FormTextItem("Last Updated", profile.lastUpdated!.relativeFormat)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -230,7 +230,7 @@ public struct ProfileView: View {
|
||||
Text(profile.name)
|
||||
if profile.type == .remote {
|
||||
Spacer(minLength: 4)
|
||||
Text("Last Updated: \(profile.origin.lastUpdated!.myFormat)").font(.caption)
|
||||
Text("Last Updated: \(profile.origin.lastUpdated!.relativeFormat)").font(.caption)
|
||||
}
|
||||
}
|
||||
HStack {
|
||||
|
||||
Reference in New Issue
Block a user