File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Sources/DiffableTextKitXNumber Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ import Foundation
1919 // MARK: Constants
2020 //=------------------------------------------------------------------------=
2121
22- @usableFromInline static let en_US = Locale ( identifier: " en_US " )
22+ @usableFromInline static let en_US_POSIX = Locale ( identifier: " en_US_POSIX " )
2323}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public struct NumberTextAdapter<Format: NumberTextFormat>: Equatable {
7676 }
7777
7878 @inlinable func value( _ number: Number ) throws -> Value {
79- try format. locale ( Constants . en_US ) . parseStrategy. parse ( number. description)
79+ try format. locale ( Constants . en_US_POSIX ) . parseStrategy. parse ( number. description)
8080 }
8181
8282 @inlinable func number( _ snapshot: Snapshot ) throws -> Number {
You can’t perform that action at this time.
0 commit comments