79159216

Date: 2024-11-05 13:07:07
Score: 0.5
Natty:
Report link

So to answer my own question based on the comments:

The problem was that the 'old' server has a locale LANG=en_US.UTF-8 bu the new server has locale LANG=nl_NL.UTF-8 (on Linux level). So I added the locale:

<format property="1_day_ago" pattern="MM/dd/yyyy hh:mm a" locale="en,US" offset="-1" unit="day" />

and now it is working as expected.

Note also the correct pattern is 'MM/dd/yyyy hh:mm a' and not 'MM/dd/yyyy hh:mm aa'.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user1391606