Skip to content

Commit

Permalink
fix: 24h datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriolino committed Nov 25, 2024
1 parent ec03739 commit e58901e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/Resources/translations/NovosgaAttendanceBundle.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
</trans-unit>
<trans-unit id="44">
<source>MM/DD/YYYY HH:mm:ss</source>
<target>MM/DD/YYYY hh:mm:ss</target>
<target>MM/DD/YYYY HH:mm:ss</target>

</trans-unit>
<trans-unit id="45">
Expand Down Expand Up @@ -404,4 +404,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>
4 changes: 2 additions & 2 deletions src/Resources/translations/NovosgaAttendanceBundle.en_US.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
</trans-unit>
<trans-unit id="44">
<source>MM/DD/YYYY HH:mm:ss</source>
<target>MM/DD/YYYY hh:mm:ss</target>
<target>MM/DD/YYYY HH:mm:ss</target>

</trans-unit>
<trans-unit id="45">
Expand Down Expand Up @@ -404,4 +404,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>
4 changes: 2 additions & 2 deletions src/Resources/translations/NovosgaAttendanceBundle.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
</trans-unit>
<trans-unit id="44">
<source>MM/DD/YYYY HH:mm:ss</source>
<target>DD/MM/YYYY hh:mm:ss</target>
<target>DD/MM/YYYY HH:mm:ss</target>

</trans-unit>
<trans-unit id="45">
Expand Down Expand Up @@ -397,4 +397,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>
4 changes: 2 additions & 2 deletions src/Resources/translations/NovosgaAttendanceBundle.es_AR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
</trans-unit>
<trans-unit id="44">
<source>MM/DD/YYYY HH:mm:ss</source>
<target>DD/MM/YYYY hh:mm:ss</target>
<target>DD/MM/YYYY HH:mm:ss</target>

</trans-unit>
<trans-unit id="45">
Expand Down Expand Up @@ -406,4 +406,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
</trans-unit>
<trans-unit id="44">
<source>MM/DD/YYYY HH:mm:ss</source>
<target>DD/MM/YYYY hh:mm:ss</target>
<target>DD/MM/YYYY HH:mm:ss</target>
</trans-unit>
<trans-unit id="45">
<source>label.ticket.wait_time</source>
Expand Down
8 changes: 4 additions & 4 deletions src/Resources/views/default/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -570,17 +570,17 @@
</td>
<td>
<span v-if="atendimento.dataChegada">
{{moment(atendimento.dataChegada, 'YYYY-MM-DD hh:mm:ss').format(dateTimeFormat)}}
{{moment(atendimento.dataChegada, 'YYYY-MM-DD HH:mm:ss').format(dateTimeFormat)}}
</span>
</td>
<td>
<span v-if="atendimento.dataInicio">
{{moment(atendimento.dataInicio, 'YYYY-MM-DD hh:mm:ss').format(dateTimeFormat)}}
{{moment(atendimento.dataInicio, 'YYYY-MM-DD HH:mm:ss').format(dateTimeFormat)}}
</span>
</td>
<td>
<span v-if="atendimento.dataFim">
{{moment(atendimento.dataFim, 'YYYY-MM-DD hh:mm:ss').format(dateTimeFormat)}}
{{moment(atendimento.dataFim, 'YYYY-MM-DD HH:mm:ss').format(dateTimeFormat)}}
</span>
</td>
<td>
Expand Down Expand Up @@ -649,7 +649,7 @@
</th>
<td>
{% verbatim %}
{{moment(atendimentoInfo.dataChegada, 'YYYY-MM-DD hh:mm:ss').format(dateTimeFormat)}}
{{moment(atendimentoInfo.dataChegada, 'YYYY-MM-DD HH:mm:ss').format(dateTimeFormat)}}
{% endverbatim %}
</td>
</tr>
Expand Down

0 comments on commit e58901e

Please sign in to comment.