Skip to content

Commit

Permalink
CLDR-15113 json: fix repeat keys in dateTime (#1552)
Browse files Browse the repository at this point in the history
- move 'datetimeSkeleton' elements to for eample 'full-datetimeSkeleton'
- does NOT address all dup keys, see CLDR-14717
  • Loading branch information
srl295 authored Oct 20, 2021
1 parent 810a1ad commit f94f8a5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
< (.*/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

# Remove unnecessary dateFormat/pattern
< (.*/calendars)/calendar\[@type="([^"]*)"\](.*)Length\[@type="([^"]*)"\]/(date|time|dateTime)Format\[@type="([^"]*)"\]/pattern\[@type="([^"]*)"\](.*)
> $1/$2/$5Formats/$4$8
Expand Down

0 comments on commit f94f8a5

Please sign in to comment.