Bug! system/locale/days is incorrect!

REBOL/View 0.10.38.3.1 3-Oct-2000
Copyright 2000 REBOL Technologies.  All rights reserved.
>> probe system/locale

make object! [
    months: [
        "January" "February" "March" "April" "May" "June"
        "July" "August" "September" "October" "November" "December"
    ]
    days: [
        {Monday Tuesday Wednesday Thursday Friday Saturday Sunday}
    ]
]

To fix this problem, system/locale/days should be:
        days: [
            "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday"
"Sunday"
            ]

Then the day of week can be accessed correctly using:
        system/locale/days/1
    through to:
        system/locale/days/7
    Much as system/locale/months can be used.

Andrew Martin
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
-><-


Reply via email to