Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2489 Zobrazení

I want to put the delivery date on my sale order confirmation email, but it automatically puts the date + time. However, since it’s only an estimation, I don’t want to add the time to it. How can I remove it?


Avatar
Zrušit
Autor Nejlepší odpověď

At the end of your t-out expression (replaces the placeholders in the v15), add this: .date(). It will remove the time from your date-time format. 

Example: t-out="object.expected_date.date()"




Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 25
7650
0
bře 25
1290
1
bře 25
30
0
bře 25
1147
0
úno 25
1104