Skip to content

Commit 52ad6ec

Browse files
committed
Fixed whitespacing issues
1 parent 26f4b0e commit 52ad6ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Foundation/NSCalendar.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,8 @@ public class NSCalendar : NSObject, NSCopying, NSSecureCoding {
370370
if let tz = tempTz {
371371
self.timeZone = tz
372372
} else {
373-
self.timeZone = oldTz
374-
}
373+
self.timeZone = oldTz
374+
}
375375

376376
var at: CFAbsoluteTime = 0.0
377377
let res: Bool = withUnsafeMutablePointer(&at) { t in
@@ -383,8 +383,8 @@ public class NSCalendar : NSObject, NSCopying, NSSecureCoding {
383383
if res {
384384
return NSDate(timeIntervalSinceReferenceDate: at)
385385
} else {
386-
return nil
387-
}
386+
return nil
387+
}
388388
}
389389

390390
private func _setup(unitFlags: NSCalendarUnit, field: NSCalendarUnit, type: String, inout compDesc: [Int8]) {

0 commit comments

Comments
 (0)