17:35
<shu>
hi folks, trying to get some clarity on "numeric" format for hour, minute, and second in DateTimeFormat: is that supposed to be 1-digit or 2-digit?
17:36
<shu>
was there a recent normative change in the spec that made "numeric" one (1) digit and "2-digit" two (2) digits?
19:00
<shu>

i'll ask it a different way, i have some urgency here. by my reading "numeric" is specced to mean one (1) digit in ecma402

  • is this a recent change? if so, what's the PR? i couldn't find it.
  • is this how it's always been? if so, how come all the browsers (and MDN) format "numeric" as two (2) digits?
19:14
<shu>
okay, i think i got my answer from ftang, which is this was implementation defined
19:18
<sffc>
These styles are all hints and it is up to the implementation to pick the exact format. "Numeric" often means "a number without zero padding" but different locales do it differently based on context