You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And that format might be used by another app that uses Unicode Technical Standard 35. It would be nice if the format function had an option to disable the format additions listed in Note 7. I can do it by hand, but that wouldn't protect against any options that get added in the future.
The text was updated successfully, but these errors were encountered:
Interesting use case, and I think it could be done fairly simply.
Could be worth having the same mirror option to the parse function too.
Adding an option to FormatOptions (like useStandardUnicodeTokensOnly or disableNonStandardTokens), add an alternate formattingTokensRegExp for standard tokens only, and not matching the longFormattingTokensRegExp might be all we need?
Let's say I have an app that let's a user enter a date format and preview it: https://codesandbox.io/p/sandbox/date-fns-test-mlfc2n
And that format might be used by another app that uses Unicode Technical Standard 35. It would be nice if the format function had an option to disable the format additions listed in Note 7. I can do it by hand, but that wouldn't protect against any options that get added in the future.
The text was updated successfully, but these errors were encountered: