[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #1554(accepted data)

Opened 11 years ago

Last modified 3 years ago

Check possibly suspicious dates

Reported by: mark.davis(at)icu-project.org Owned by: anybody
Component: main Data Locale:
Phase: Review:
Weeks: Data Xpath:
Xref:

ticket:1509

ticket:1305

Description (last modified by mark) (diff)

We changed the spec to be inclusive (section 5.2.1, bug 1509). We should check
some of the suspicious dates in the data, where the from is the last day of the
month, or the to is the first day of the month. We should also fix all the dates
to contain year, month, and day.

Here are some quick searches with SearchXML. There may be some false positives
here, this is just a rough guide.

  1. Bad format

-DSOURCE=C:\cvsdata\unicode\cldr\common\supplemental\
-DFILE=.*\.xml
-DXMLPATH=.*\[@to="(?[0-9]{4}\-[0-9]{2}\-[0-9]{2}).*"].*
-DVALUE=.*
-DSHOWFILES=TRUE
-DSHOWVALUES=FALSE

supplementalData[@version="1.5"]/currencyData/region[@iso3166="AO"]/currency[@iso4217="AOR"][@from="1995-07-01"][@to="2000-02"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="AO"]/currency[@iso4217="AON"][@from="1990-09-25"][@to="2000-02"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="AO"]/currency[@iso4217="AOK"][@from="1977-01-08"][@to="1991-03"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BA"]/currency[@iso4217="BAD"][@from="1992-07-01"][@to="1997-07"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="CD"]/currency[@iso4217="ZRN"][@from="1993-11-01"][@to="1998-07"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="CU"]/currency[@iso4217="USD"][@from="1899"][@to="1959"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="CZ"]/currency[@iso4217="CSK"][@from="1953-06-01"][@to="1993-03"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="DO"]/currency[@iso4217="USD"][@from="1905-06-21"][@to="1947-10"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="FM"]/currency[@iso4217="JPY"][@from="1914-10-03"][@to="1944"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="GQ"]/currency[@iso4217="GQE"][@from="1975-07-07"][@to="1986-06"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="HR"]/currency[@iso4217="HRD"][@from="1991-12-23"][@to="1995-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="IE"]/currency[@iso4217="GBP"][@from="1800"][@to="1922"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="KY"]/currency[@iso4217="JMD"][@from="1969-09-08"][@to="1971"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="PS"]/currency[@iso4217="JOD"][@from="1950-07-01"][@to="1967-06"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="SD"]/currency[@iso4217="SDP"][@from="1957-04-08"][@to="1998-06"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="VG"]/currency[@iso4217="GBP"][@from="1833"][@to="1959"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="ZR"]/currency[@iso4217="ZRN"][@from="1993-11-01"][@to="1998-07"]

  1. Possibly bad to or from.

-DSOURCE=C:\cvsdata\unicode\cldr\common\supplemental\
-DFILE=.*\.xml
-DXMLPATH=.*\[@from="[0-9]*\-[0-9]*\-3[01]"].*
-DVALUE=.*
-DSHOWFILES=TRUE
-DSHOWVALUES=FALSE

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BJ"]/currency[@iso4217="XOF"][@from="1975-11-30"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="HR"]/currency[@iso4217="HRK"][@from="1994-05-30"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="NI"]/currency[@iso4217="NIO"][@from="1991-04-30"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="SK"]/currency[@iso4217="SKK"][@from="1992-12-31"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="SL"]/currency[@iso4217="GBP"][@from="1808-11-30"][@to="1966-02-04"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="WF"]/currency[@iso4217="XPF"][@from="1961-07-30"]

-DSOURCE=C:\cvsdata\unicode\cldr\common\supplemental\
-DFILE=.*\.xml
-DXMLPATH=.*\[@to="[0-9]*\-[0-9]*\-01"].*
-DVALUE=.*
-DSHOWFILES=TRUE
-DSHOWVALUES=FALSE

supplementalData[@version="1.5"]/currencyData/region[@iso3166="AR"]/currency[@iso4217="ARA"][@from="1985-06-14"][@to="1992-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="AW"]/currency[@iso4217="ANG"][@from="1940-05-10"][@to="1986-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="AZ"]/currency[@iso4217="RUR"][@from="1991-12-25"][@to="1994-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BA"]/currency[@iso4217="YUN"][@from="1990-01-01"][@to="1992-07-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BA"]/currency[@iso4217="YUD"][@from="1966-01-01"][@to="1990-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BD"]/currency[@iso4217="PKR"][@from="1948-04-01"][@to="1972-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BD"]/currency[@iso4217="INR"][@from="1835-08-17"][@to="1948-04-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BR"]/currency[@iso4217="BRR"][@from="1993-08-01"][@to="1994-07-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="BR"]/currency[@iso4217="BRE"][@from="1990-03-16"][@to="1993-08-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="CD"]/currency[@iso4217="ZRZ"][@from="1971-10-27"][@to="1993-11-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="HR"]/currency[@iso4217="YUD"][@from="1966-01-01"][@to="1990-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="IS"]/currency[@iso4217="DKK"][@from="1873-05-27"][@to="1918-12-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="LT"]/currency[@iso4217="SUR"][@from="1961-1-1"][@to="1992-10-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="PE"]/currency[@iso4217="PEI"][@from="1985-02-01"][@to="1991-07-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="PE"]/currency[@iso4217="PES"][@from="1863-02-14"][@to="1985-02-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="SD"]/currency[@iso4217="EGP"][@from="1889-01-19"][@to="1958-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="SD"]/currency[@iso4217="GBP"][@from="1889-01-19"][@to="1958-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="TM"]/currency[@iso4217="RUR"][@from="1991-12-25"][@to="1993-11-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="UY"]/currency[@iso4217="UYP"][@from="1975-07-01"][@to="1993-03-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="YU"]/currency[@iso4217="YUD"][@from="1966-01-01"][@to="1990-01-01"]

supplementalData[@version="1.5"]/currencyData/region[@iso3166="ZR"]/currency[@iso4217="ZRZ"][@from="1971-10-27"][@to="1993-11-01"]

Attachments

Change History

comment:1 Changed 49 years ago by notes2

chris: Moving to agenda for discussion, in case George's comments don't cover it

comment:2 Changed 49 years ago by old_notes2

chris: Moving to agenda for discussion, in case George's comments don't cover it

comment:3 Changed 11 years ago by mark

changed notes2

comment:4 Changed 11 years ago by mark

changed notes2

comment:5 Changed 11 years ago by mark

moved from incoming to data

comment:6 Changed 11 years ago by grhoten

changed notes2

comment:7 Changed 11 years ago by George Rhoten <grhoten(at)gmail.com>

I don't remember the spec ever really changing. I believe the spec was only clarified for the changes from CLDR ticket 249. All the data is correctly inclusive, and item 2 is not an issue.

The incomplete dates are there on purpose due to incomplete information. So I agree that item 1 is an issue for completeness reasons, but I don't have any more accurate information than that. Wars tend to have that effect on the "official" start and end dates for some of the currencies. You will have to do more research on the exact dates of transitions.

I do believe that CLDR ticket 1305 is a duplicate of item #1 of this bug. So I believe this whole ticket should be returned.

comment:8 Changed 11 years ago by grhoten

sent reply 1

comment:9 Changed 11 years ago by grhoten

changed notes2

comment:10 Changed 11 years ago by chrish

changed notes2

comment:11 Changed 11 years ago by mark

changed notes2

comment:12 Changed 10 years ago by pedberg

changed notes2

comment:13 Changed 9 years ago by mark

  • Owner changed from mark to emmons
  • Priority changed from assess to minor
  • Status changed from new to assigned
  • Description modified (diff)
  • Milestone changed from 1.8p1 to 1.8

comment:14 Changed 9 years ago by pedberg

  • Milestone changed from 1.8 to 1.9

No load or reviewer, milestone changed from 1.8 to 1.9

comment:15 Changed 8 years ago by emmons

  • Owner changed from emmons to anybody

comment:16 Changed 8 years ago by mark

  • Milestone changed from 1.9RC to 2.0

comment:17 Changed 7 years ago by pedberg

  • Milestone changed from 2.0 to 2.1m1

comment:18 Changed 7 years ago by pedberg

  • Milestone changed from 21m1 to 21

Move 21m1 tickets with no changes yet to 21

comment:19 Changed 5 years ago by emmons

  • Milestone changed from future to UNSCH

comment:20 Changed 3 years ago by markus

  • Type changed from defect to data

comment:21 Changed 3 years ago by srl

  • Status changed from assigned to accepted
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.