Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Bug! system/locale/days is incorrect!

 [1/1] from: al::bri::xtra::co::nz at: 8-Oct-2000 19:55


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/