Skip to content

Commit 268ddad

Browse files
committed
Fix issue #68
1 parent 0e4adf6 commit 268ddad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/DateTimePicker.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public protocol DateTimePickerDelegate {
5656
/// custom background color for date cells
5757
public var daysBackgroundColor = UIColor(red: 239.0/255.0, green: 243.0/255.0, blue: 244.0/255.0, alpha: 1)
5858

59-
/// date locale (language displayed), default to American English
60-
public var locale = Locale(identifier: "en_US") {
59+
/// date locale (language displayed), default to device's locale
60+
public var locale = Locale.current {
6161
didSet {
6262
configureView()
6363
}

0 commit comments

Comments
 (0)