mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Merge pull request #251 from d-date/dateformat
Update Release Date format on InfoPane for better localization
This commit is contained in:
commit
1baf1f8515
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ struct InfoPane: View {
|
|||
Text("ReleaseDate")
|
||||
.font(.headline)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
Text(DateFormatter.downloadsReleaseDate.string(from: releaseDate))
|
||||
Text("\(releaseDate, style: .date)")
|
||||
.font(.subheadline)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue