Automattic/o2

o2.Utilities.phpToMoment do not handle escaped characters

Opened this issue · 0 comments

The current o2.Utilities.phpToMoment method is not able to handle escaped characters like:

j \d\e F \d\e Y

This will result in the follow output:

24 \122403:00 April \24\-03:00 2017

And causing issues on https://br.wordpress.org/team/, https://pt.wordpress.org/team/, and possible other languages.