Skip to content

Commit

Permalink
format where availableFrom is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
DrumsnChocolate committed Oct 28, 2024
1 parent e9af9e4 commit 66ac883
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/cards/public-room-advert-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{{#if @roomAdvert.availableFrom}}
<tr>
<th class="pe-3 text-secondary">{{t 'component.public.roomForum.availableFrom'}}</th>
<td>{{@roomAdvert.availableFrom}}</td>
<td>{{moment-format @roomAdvert.availableFrom 'DD-M-YYYY'}}</td>
</tr>
{{/if}}
<tr>
Expand Down
2 changes: 1 addition & 1 deletion app/components/cards/room-advert-card.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{{#if @roomAdvert.availableFrom}}
<div class='col-12 col-md-6 card-subheader-item align-items-center p-3'>
<b>Beschikbaar vanaf: </b>
{{@roomAdvert.availableFrom}}
{{moment-format @roomAdvert.availableFrom 'DD-M-YYYY'}}
</div>
{{/if}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/room-adverts/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{{#if roomAdvert.availableFrom}}
<tr>
<th class="pe-3">Beschikbaar vanaf: </th>
<td>{{roomAdvert.availableFrom}}</td>
<td>{{moment-format roomAdvert.availableFrom 'DD-M-YYYY'}}</td>
</tr>
{{/if}}
</table>
Expand Down

0 comments on commit 66ac883

Please sign in to comment.