Skip to content

Commit 3e308fd

Browse files
updated today extension
1 parent 3a12373 commit 3e308fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

try! Today/Base.lproj/TodayInterface.storyboard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<color key="textColor" red="0.94117647059999998" green="0.31372549020000001" blue="0.1137254902" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
3232
<nil key="highlightedColor"/>
3333
</label>
34-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bangalore, India" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Oc-dq-p35">
34+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tokyo, Japan" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Oc-dq-p35">
3535
<rect key="frame" x="90" y="35" width="203" height="21"/>
3636
<constraints>
3737
<constraint firstAttribute="height" constant="21" id="Nd1-DG-JST"/>

try! Today/TodayController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TodayController: UIViewController, NCWidgetProviding {
4141
private var currentSession: Session? {
4242
guard let sessionBlocks = SessionBlock.all else { return nil }
4343

44-
let est = TimeZone(abbreviation: "IST")!
44+
let est = TimeZone(abbreviation: "JST")!
4545
let date = Date().addingTimeInterval((Double)(est.secondsFromGMT()))
4646
let currentSessionBlock = sessionBlocks.filter("startTime < %@ AND endTime > %@", date, date)
4747
return currentSessionBlock.first?.sessions.first

0 commit comments

Comments
 (0)