Skip to content

Commit

Permalink
release 0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
saschaludwig committed Aug 11, 2021
1 parent 5b6edd3 commit 1c12cc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

## [TBA]
## [0.9.4]
### Changed
- fixed crash when OWM API responds with strange JSON
- OWM API uses https now
- fixed calling API error when WeatherWidget is disabled (Thanks to https://github.com/ywiskerke)
- added dutch language support (Thanks to https://github.com/ywiskerke)
- fixed wrong hour in xx:45 textclock display

## [0.9.3]
### Added
Expand Down
4 changes: 2 additions & 2 deletions start.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ def update_backtiming_text(self):
if minute == 30:
string = "Het is half %d:00" % (hour + 1)
if minute == 45:
string = "Het is kwart voor %d:00" % hour
string = "Het is kwart voor %d:00" % (hour + 1)
if (31 <= minute <= 44) or (46 <= minute <= 59):
string = "Het is %d minu%s voor %d:00" % (
remain_min, 'ten' if remain_min > 1 else 'ut', 1 if hour == 12 else hour + 1)
Expand All @@ -825,7 +825,7 @@ def update_backtiming_text(self):
if minute == 30:
string = "it's half past %d:00" % hour
if minute == 45:
string = "it's a quarter to %d:00" % hour
string = "it's a quarter to %d:00" % (hour + 1)
if (31 <= minute <= 44) or (46 <= minute <= 59):
string = "it's %d minute%s to %d:00" % (
remain_min, 's' if remain_min > 1 else '', 1 if hour == 12 else hour + 1)
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
versionString = "0.9.3"
versionString = "0.9.4"

0 comments on commit 1c12cc1

Please sign in to comment.