intl-dateformat icon indicating copy to clipboard operation
intl-dateformat copied to clipboard

Support for literal strings

Open paulogr opened this issue 5 years ago • 1 comments

How can I add a literal string to the format string?

For example: dddd, DD [de] MMMM [às] HH:mm

The parts with brackets are literal, doesn't have to be converted.

Thanks!

paulogr avatar Jun 16 '20 23:06 paulogr

Hey @paulogr, apologies for the delay.

This is a great idea! I just published a pre-release with literal strings support: v0.2.0-0. Could you test it and let me know if it works for you? Thanks!

ngryman avatar Aug 13 '20 08:08 ngryman