Skip to content
Advertisement

Tag: momentjs

How to prevent twig from auto escaping Japanese characters?

I am trying to display product’s arrival date. I’m using moment.js to format YYYY/MM/DDdate string to Japanese local string. My javascript code is included in a twig file: