react-ssr-example icon indicating copy to clipboard operation
react-ssr-example copied to clipboard

options.awareOfUnicodeTokens - date issue

Open tompiler opened this issue 6 years ago • 0 comments

Hi,

I was getting:

Uncaught RangeError: options.awareOfUnicodeTokens must be set to true to use YYYY token; see: https://git.io/fxCyr at throwProtectedError

after running npm start.

I fixed it by changing lines 27 and 27 in Main.jsx from:

date: 'MMMM do, YYYY', date: 'd MMMM YYYY',

To

date: 'MMMM do, yyyy', date: 'd MMMM yyyy',

See a short answer here:

https://stackoverflow.com/questions/53691245/uncaught-rangeerror-options-awareofunicodetokens-must-be-set-to-true-to-use

Will sort out a request soon!

tompiler avatar Jan 30 '19 10:01 tompiler