Skip to content

Commit

Permalink
Adapty Demo: update support for OnboardingsDatePickerParams
Browse files Browse the repository at this point in the history
  • Loading branch information
x401om committed Aug 15, 2024
1 parent f5d69e3 commit ccf862e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ extension [OnboardingsSelectParams] {

extension OnboardingsDatePickerParams {
var stringValue: String {
"\(year)-\(String(format: "%.2d", month))-\(String(format: "%.2d", day))"
"\(year ?? 0)-\(String(format: "%.2d", month ?? 0))-\(String(format: "%.2d", day ?? 0))"
}
}

0 comments on commit ccf862e

Please sign in to comment.