Skip to content

Commit

Permalink
Fix issue #1148
Browse files Browse the repository at this point in the history
  • Loading branch information
viere1234 committed Aug 30, 2023
1 parent 2f86a51 commit 53c2161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OPassData/General/DateInRegionTransform.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SwiftDate

struct StringToDate: TransformFunction {
static func transform(_ string: String) -> DateInRegion {
return string.toISODate()!
return string.toISODate(region: .current)!
}
}

Expand Down

1 comment on commit 53c2161

@viere1234
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix issue #54 (typo)

Please sign in to comment.