Skip to content

Commit

Permalink
Merge pull request #228 from StadGent/feature/OPEN-246
Browse files Browse the repository at this point in the history
OPEN-246: Added missing day of the month postfix for german date notation.
  • Loading branch information
zero2one authored Feb 28, 2019
2 parents 8e80cc6 + 279101e commit 3c0c2a8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions resources/lang/de/openinghourApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
'LONG_HOUR' => '',
'HH:MM' => ':HH::MM',

'DAY_OF_MONTH' => ':DAY.',

'day_0' => 'Sonntag',
'day_1' => 'Montag',
'day_2' => 'Dienstag',
Expand Down
2 changes: 2 additions & 0 deletions resources/lang/en/openinghourApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
'LONG_HOUR' => '',
'HH:MM' => ':HH::MM',

'DAY_OF_MONTH' => ':DAY',

'day_0' => 'Sunday',
'day_1' => 'Monday',
'day_2' => 'Tuesday',
Expand Down
2 changes: 2 additions & 0 deletions resources/lang/es/openinghourApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
'LONG_HOUR' => '',
'HH:MM' => ':HH::MM',

'DAY_OF_MONTH' => ':DAY',

'day_0' => 'Domingo',
'day_1' => 'Lunes',
'day_2' => 'Martes',
Expand Down
2 changes: 2 additions & 0 deletions resources/lang/fr/openinghourApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
'LONG_HOUR' => '',
'HH:MM' => ':HH::MM',

'DAY_OF_MONTH' => ':DAY',

'day_0' => 'Dimanche',
'day_1' => 'Lundi',
'day_2' => 'Mardi',
Expand Down
2 changes: 2 additions & 0 deletions resources/lang/nl/openinghourApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
'LONG_HOUR' => 'uur',
'HH:MM' => ':HH.:MM',

'DAY_OF_MONTH' => ':DAY',

'day_0' => 'zondag',
'day_1' => 'maandag',
'day_2' => 'dinsdag',
Expand Down
4 changes: 2 additions & 2 deletions resources/views/api/openinghours/day_info.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<span class="openinghours--date-special-day">{{ $specialDayName }}</span><span class="openinghours--date-between">, </span>
@endif
<span class="openinghours--date-day-of-week"><link property="dayOfWeek" href="http://schema.org/{{ $dayName }}">{{ $translatedDayName }}</span>
<span class="openinghours--date-day">{{ $dayOfMonth }}</span>
<span class="openinghours--date-day">@lang('openinghourApi.DAY_OF_MONTH', ['DAY' => $dayOfMonth])</span>
<span class="openinghours--date-month">{{ $translatedMonthName }}</span>
@if(!$isSameYear)
<span class="openinghours--date-year">{{ $date->year }}</span>
Expand Down Expand Up @@ -67,4 +67,4 @@
@endif
</div>
</div>
</div>
</div>

0 comments on commit 3c0c2a8

Please sign in to comment.