Skip to content

Commit

Permalink
self-update announcement: fix timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Nov 21, 2024
1 parent 8cd6ef5 commit f4227b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ checkSelfUpdatesIfFound: dateBlock
ifPresent: [:selfUpdateTimeStamp | selfUpdateTimeStamp > packageInfoAndTimeStamp value]
ifAbsent: [true]].

^ hasUpdates ifTrue: [dateBlock value: selfUpdateTimeStamps max asDateAndTime]
^ hasUpdates ifTrue:
[dateBlock value:
(selfUpdateTimeStamps max asDateAndTime asLocalAt: DateAndTime localOffset) "timestamps dont have timezones"]
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"basicSelfUpdateBranch:" : "ct 11/25/2022 21:27",
"basicSelfUpdateMetacelloSpec" : "ct 8/27/2023 21:47",
"basicSelfUpdateMetacelloSpec:" : "ct 8/27/2023 21:36",
"checkSelfUpdatesIfFound:" : "ct 11/21/2024 04:11",
"checkSelfUpdatesIfFound:" : "ct 11/21/2024 04:26",
"cleanUp:" : "ct 11/18/2024 20:43",
"defaultFeedbackText" : "ct 11/18/2024 01:37",
"defaultInbox" : "ct 5/26/2021 23:41",
Expand Down

0 comments on commit f4227b2

Please sign in to comment.