Skip to content

Commit

Permalink
minor fix to shift date on shift home screen
Browse files Browse the repository at this point in the history
  • Loading branch information
davidclaveau committed Feb 13, 2024
1 parent 4a577f9 commit 273e8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipad/Models/Shift/ShiftModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ShiftModel: Object, BaseRealmObject {
@objc dynamic var status: String = "Draft"
// used for query purposes (and displaying)
// used for query purposes (and displaying)
@objc dynamic var formattedDate: String = ""
@objc dynamic var formattedDate: String = Calendar.current.startOfDay(for: Date()).stringShort()

/// Takes the Date of one Date object and combines it with the Time from another date object
/// - Parameters:
Expand Down

0 comments on commit 273e8b7

Please sign in to comment.