NovuN
Novuโ€ข3y agoโ€ข
21 replies
Shaun

Localize Date Strings with {{dateformat}}

Hi again ๐Ÿ™‚
As a part of my teams localization effort, we were hoping to be able to use the
{{dateformat}}
handlebar and pass in the subscriber locale to it in order to get the proper date format (ex MM/dd/yyyy vs dd/MM/yyyy in some countries).

The docs help bot seemed to imply this was supported but looking at the handlerbar implementation, it seems locale information is not currently passed to
date-fns
. Is this accurate? Is there a way to accomplish what I am hoping? Thank you in advance!
Was this page helpful?