diff --git a/CHANGELOG b/CHANGELOG index 7410dc0df75d72b3748feb70ba149f988e421efd..ef620269143aa9bc6ce13c102b6c6e671cdc0cb0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +smasch (1.4.4-1) stable; urgency=high + * fix bug in api/availabilities endpoint + smasch (1.4.3-1) stable; urgency=medium * make export faster * make API endpoint /api/subjects/GENERIC faster diff --git a/smash/web/api_views/daily_planning.py b/smash/web/api_views/daily_planning.py index 724eed01e715d20de695077a7021d1c574b5594b..487276f9dfd83d13fbcfa966ba862890667a1ed3 100644 --- a/smash/web/api_views/daily_planning.py +++ b/smash/web/api_views/daily_planning.py @@ -465,6 +465,7 @@ def get_workers_for_daily_planning(request: HttpRequest): def availabilities(request, date): + date = datetimeify_date(date) result_availabilities = [] holidays = [] conflicts = [] diff --git a/smash/web/templates/_base.html b/smash/web/templates/_base.html index baa0066a6c33391123badab77167843dcd7a4cac..c4a0863a1c611aa62ec9f83b7cf23201951a226b 100644 --- a/smash/web/templates/_base.html +++ b/smash/web/templates/_base.html @@ -258,7 +258,7 @@ desired effect {% block footer %} <!-- To the right --> <div class="pull-right hidden-xs"> - Version: <strong>1.4.3</strong> + Version: <strong>1.4.4</strong> </div> <!-- Default to the left -->