Digital ACT-191 ONEAPP-7958 story: added missing date function
This commit is contained in:
parent
8d415a72f1
commit
80f90e0b56
@ -62,4 +62,7 @@ extension Date {
|
|||||||
Calendar.current.component(.month, from: self)
|
Calendar.current.component(.month, from: self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var dayInt: Int {
|
||||||
|
Calendar.current.component(.day, from: self)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user