Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

itisdesign_-_AH
Inspiring
Dec 23, 2012 10:42 PM UTC

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

Translate
Known Participant
Nov 4, 2012 8:47 PM UTC

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

Translate
Inspiring
Nov 4, 2012 9:14 PM UTC

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

--

Adam

Translate