articles, clean up, error fixes
This commit is contained in:
@@ -9,10 +9,9 @@ import Ignite
|
||||
|
||||
/// Displays the version of Ignite the site was built with and the publishing date.
|
||||
struct VersionInfo: HTML {
|
||||
private let dateFormat = Date.FormatStyle().month(.defaultDigits).day(.defaultDigits).year(.twoDigits)
|
||||
private let dateFormat = Date.FormatStyle().day(.defaultDigits).month(.wide).year(.extended())
|
||||
var body: some HTML {
|
||||
Text("\(Ignite.version) · Updated \(Date.now.formatted(dateFormat))")
|
||||
.horizontalAlignment(.center)
|
||||
Text("Updated \(Date.now.formatted(dateFormat))")
|
||||
.foregroundStyle(.gray)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user