mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Replace deprecated function.
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
<td>
|
||||
{% if null != rt.repeat_until and today > rt.repeat_until %}
|
||||
<span class="text-danger">
|
||||
{{ trans('firefly.repeat_until_in_past', {date: rt.repeat_until.formatLocalized(monthAndDayFormat) }) }}
|
||||
{{ trans('firefly.repeat_until_in_past', {date: rt.repeat_until.isoFormat(monthAndDayFormat) }) }}
|
||||
</span>
|
||||
{% endif %}
|
||||
<ul>
|
||||
@@ -119,7 +119,7 @@
|
||||
{{ 'recurring_repeats_forever'|_ }}.
|
||||
{% endif %}
|
||||
{% if null != rt.repeat_until and rt.repetitions == 0 %}
|
||||
{{ trans('firefly.recurring_repeats_until', {date: rt.repeat_until.formatLocalized(monthAndDayFormat)}) }}.
|
||||
{{ trans('firefly.recurring_repeats_until', {date: rt.repeat_until.isoFormat(monthAndDayFormat)}) }}.
|
||||
{% endif %}
|
||||
{% if null == rt.repeat_until and rt.nr_of_repetitions != 0 %}
|
||||
{{ trans_choice('firefly.recurring_repeats_x_times', rt.nr_of_repetitions) }}.
|
||||
@@ -131,7 +131,7 @@
|
||||
{% for rep in rt.repetitions %}
|
||||
{% for occ in rep.occurrences %}
|
||||
{% if loop.index0 < 2 %}
|
||||
<li>{{ occ.formatLocalized(monthAndDayFormat) }}</li>
|
||||
<li>{{ occ.isoFormat(monthAndDayFormat) }}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<div class="box-body">
|
||||
{% if null != array.repeat_until and today > array.repeat_until %}
|
||||
<span class="text-danger">
|
||||
{{ trans('firefly.repeat_until_in_past', {date: array.repeat_until.formatLocalized(monthAndDayFormat) }) }}
|
||||
{{ trans('firefly.repeat_until_in_past', {date: array.repeat_until.isoFormat(monthAndDayFormat) }) }}
|
||||
</span>
|
||||
{% endif %}
|
||||
<ul>
|
||||
@@ -69,7 +69,7 @@
|
||||
{% endif %}
|
||||
<ul>
|
||||
{% for occ in rep.occurrences %}
|
||||
<li>{{ occ.formatLocalized(trans('config.month_and_date_day')) }}</li>
|
||||
<li>{{ occ.isoFormat(trans('config.month_and_date_day_js')) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user