diff --git a/CHANGELOG.md b/CHANGELOG.md index 73726349..2f7431b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file. ### Improvements - Content updates in the "Welcome" page. +### Bug Fixes +- Timezones were missing in the "Change Schedule" dialog, fixed + + ## 1.1.0 - 2018-08-20 ### Improvements diff --git a/hc/front/tests/test_details.py b/hc/front/tests/test_details.py index e0b5cfa1..78570275 100644 --- a/hc/front/tests/test_details.py +++ b/hc/front/tests/test_details.py @@ -23,6 +23,8 @@ class DetailsTestCase(BaseTestCase): self.client.login(username="alice@example.org", password="password") r = self.client.get(self.url) self.assertContains(r, "How To Ping", status_code=200) + # The page should contain timezone strings + self.assertContains(r, "Europe/Riga") def test_it_checks_ownership(self): self.client.login(username="charlie@example.org", password="password") diff --git a/hc/front/views.py b/hc/front/views.py index 719120ee..24796abb 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -371,7 +371,8 @@ def details(request, code): ctx = { "page": "details", "check": check, - "channels": channels + "channels": channels, + "timezones": all_timezones } return render(request, "front/details.html", ctx)