Skip to content

Commit

Permalink
Merge pull request #136 from forslund/bugfix/translate-today
Browse files Browse the repository at this point in the history
Remove hardcoded "today"
  • Loading branch information
krisgesling authored Aug 6, 2020
2 parents 2d06c7f + 30fec0c commit 93bdd8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,8 @@ def __populate_current(self, report, unit=None):

wind = self.get_wind_speed(forecastWeather)
report['wind'] = "{} {}".format(wind[0], wind[1] or "")
report['day'] = "today"
report['day'] = self.__to_day(extract_datetime('today')[0],
preface=True)

return report

Expand Down

0 comments on commit 93bdd8c

Please sign in to comment.