File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/FoundationEssentials Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ extension Date : ReferenceConvertible, _ObjectiveCBridgeable {
395395
396396 @_semantics ( " convertToObjectiveC " )
397397 public func _bridgeToObjectiveC( ) -> NSDate {
398- return NSDate ( timeIntervalSinceReferenceDate: _time)
398+ return NSDate ( timeIntervalSinceReferenceDate: _time. head )
399399 }
400400
401401 public static func _forceBridgeFromObjectiveC( _ x: NSDate , result: inout Date ? ) {
@@ -446,7 +446,7 @@ extension Date : _CustomPlaygroundQuickLookable {
446446#endif // FOUNDATION_FRAMEWORK
447447
448448extension Date {
449- // Julian day 0 (-4713 -01-01 12:00:00 +0000) in CFAbsoluteTime to 506713-02-07 00:00:00 +0000, smaller than the max time ICU supported.
449+ // Julian day 0 (-4712 -01-01 12:00:00 +0000) in CFAbsoluteTime to 506713-02-07 00:00:00 +0000, smaller than the max time ICU supported.
450450 package static let validCalendarRange = Date ( timeIntervalSinceReferenceDate: TimeInterval ( - 211845067200.0 ) ) ... Date ( timeIntervalSinceReferenceDate: TimeInterval ( 15927175497600.0 ) )
451451
452452 // aka __CFCalendarValidateAndCapTimeRange
You can’t perform that action at this time.
0 commit comments