Skip to content

Commit

Permalink
Refactor numeric styles (#185)
Browse files Browse the repository at this point in the history
* Editorial: updated resolvedOptions and Table 3 to use new "fractional" style for subsecond units.

This is introduced to simplify the logic for handling "numeric" units in
GetDurationUnitOptions and PartitionDurationFormatPattern, as this style means
something different for subsecond units than it does for hours, minutes, and
seconds.

This change is non-observable: users still use "numeric" to specify
the style in all cases, and "fractional" is converted back to "numeric" in
resolvedOptions.]
  • Loading branch information
ben-allen committed Feb 1, 2024
1 parent 7080564 commit eec6dd7
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 62 deletions.
Loading

0 comments on commit eec6dd7

Please sign in to comment.