You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to show the first and last day of the week with the format {{ first_monday_number }}-{{ last_saturday_number }} {{ month_name }}. Example with the week number 24: 2017-06-12 to 2017-06-18
Hi!
I need to show the first and last day of the week with the format
{{ first_monday_number }}-{{ last_saturday_number }} {{ month_name }}
. Example with the week number 24: 2017-06-12 to 2017-06-18In the twig template:
The problem is in
{{ week.end.format('j') }}
, print "12 - 19 of June" and I need the last day to be on Saturday: 12 - 17 of June.How can I get the correct date?
Thanks,
The text was updated successfully, but these errors were encountered: