initial pre-viable version of watch app
This commit is contained in:
9
Workouts/Utils/Date+formatedDate.swift
Normal file
9
Workouts/Utils/Date+formatedDate.swift
Normal file
@ -0,0 +1,9 @@
|
||||
import Foundation
|
||||
|
||||
extension Date {
|
||||
func formattedDate() -> String {
|
||||
let formatter = DateFormatter()
|
||||
formatter.dateStyle = .short
|
||||
return formatter.string(from: self)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user