• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

TimeFormat

Explorer ,
Nov 04, 2012 Nov 04, 2012

Copy link to clipboard

Copied

Views

716

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2012 Nov 04, 2012

Copy link to clipboard

Copied

It says "m or M" is deprecated, but you still put it in the parameters mask and don't include the "n or N"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 04, 2012 Nov 04, 2012

Copy link to clipboard

Copied

Yeah, it should be removed from the examples, too.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 23, 2012 Dec 23, 2012

Copy link to clipboard

Copied

LATEST

Currently, timeFormat()'s Parameters table suggests that there is a limit to the number of times a masking character can be repeated. This is not true. The following are all valid: 'hhh','HHHH','nnnnn','ssssss','lllllll'.

This is especially important for milliseconds, which are often measured using 3+ digits.

Suggested wording to add within the Parameters table:

-ll or LL: milliseconds; leading zero for single-digit milliseconds (to add additional leading zeros, repeat the l or L character)

Thanks!,

-Aaron

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation