docs(options):Ensures UI descriptions accurately reflect Day.js handling of

unrecognized format
This commit is contained in:
iamvann 2025-05-17 01:26:26 +08:00
parent 26f6c28c71
commit 2844331f10

View File

@ -10,9 +10,11 @@ const TPL = `
Refer to the Day.js documentation for valid tokens. Refer to the Day.js documentation for valid tokens.
</p> </p>
<p> <p>
<strong>Important:</strong> If you provide a string that Day.js cannot interpret as a format, <strong>Important:</strong> If you provide a format string that Day.js does not recognize
the literal string you typed might be inserted. If the format string is empty, or if Day.js (e.g., mostly plain text without valid <a href="https://day.js.org/docs/en/display/format" target="_blank" rel="noopener noreferrer">Day.js tokens</a>),
encounters an internal error with your format, a default format (e.g., YYYY-MM-DD HH:mm) will be used. the text you typed might be inserted literally. If the format string is left empty,
or if Day.js encounters a critical internal error with your format,
a default format (e.g., YYYY-MM-DD HH:mm) will be used.
</p> </p>
<div class="form-group"> <div class="form-group">