Skip to content

Commit

Permalink
CLDR-15113 json: move datetimeSkeleton to a parallel location
Browse files Browse the repository at this point in the history
- dateSkeletons and timeSkeletons are now siblings to dateFormats and timeFormats
  • Loading branch information
srl295 committed Oct 25, 2021
1 parent 694af8a commit 72536cc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
< (.*/ellipsis)\[@type="([^"]*)"\](.*)$
> $1/$2$3

# move datetimeSkeleton to a separate path
< (.*/calendars)/calendar\[@type="([^"]*)"\](.*)Length\[@type="([^"]*)"\]/(date|time|dateTime)Format\[@type="([^"]*)"\]/datetimeSkeleton(.*)
> $1/$2/$5Formats/$4-datetimeSkeleton$7
# move datetimeSkeleton to a parallel path
< (.*/calendars)/calendar\[@type="([^"]*)"\](.*)Length\[@type="([^"]*)"\]/(date|time|dateTime)Format\[@type="([^"]*)"\]/(datetimeSkeleton)(.*)
> $1/$2/$5Skeletons/$4$8

# Remove unnecessary dateFormat/pattern
< (.*/calendars)/calendar\[@type="([^"]*)"\](.*)Length\[@type="([^"]*)"\]/(date|time|dateTime)Format\[@type="([^"]*)"\]/pattern\[@type="([^"]*)"\](.*)
Expand Down

0 comments on commit 72536cc

Please sign in to comment.