.
D 2005-03-10T15:36:22
J assignee dkf
J cmimetype text/plain
J comment Using\sclock\sscan\s"next\s<dayname>"\sseems\sto\sgo\s2\s\nweeks\sahead,\srather\sthan\s1,\swhy\sis\sthat?\sThis\saffects\s\nboth\sthe\s8.4\sline\sand\s8.5.\n\ntelhp6:/home/dcollins/tmp/tcl8.5a2/unix$\sdate\nThu\sMar\s10\s15:23:16\sGMT\s2005\n\nclock\sformat\s[clock\sscan\s"+1\swed"]\s-format\s"%Y-%m-%\nd"\n2005-03-16\nclock\sformat\s[clock\sscan\s"-1\swed"]\s-format\s"%Y-%m-%d"\n2005-03-09\nclock\sformat\s[clock\sscan\s"next\swed"]\s-format\s"%Y-%m-\n%d"\n2005-03-23\nclock\sformat\s[clock\sscan\s"last\swed"]\s-format\s"%Y-%m-%\nd"\n2005-03-09\n\nI\scan\suse\s+1\swed\sand\s-1\swed\sinstead\swhich\sseem\sto\s\nwork\sfine,\sbut\sI\smentally\sassumed\sthat\slast/next\swas\sthe\s\nsame\sas\s-1/+1,\shave\sI\sgot\sit\swrong?\n\nI\stracked\sthe\s"problem"\sto\ssomething\sin\sthe\syacc\s\ngrammer\s(Below).\sIf\sI\schange\sthe\syyDayOrdinal\sto\s1,\s\nthen\sI\sget\sthe\s"correct"\sresults,\sbut\sit\slooks\slike\sit\swas\s\ndesigned\sthis\sway,\sso\sdoes\sthe\shelp\sneed\supdating?\n\n\s\s\s\s\s\s\s\s|\stNEXT\stDAY\s{\n\s\s\s\s\s\s\s\s\s\s\s\syyDayOrdinal\s=\s2;\n\s\s\s\s\s\s\s\s\s\s\s\syyDayNumber\s=\s$2;\n\s\s\s\s\s\s\s\s}\n\nThis\sis\sprobably\sobselete\sin\s8.5\swith\sthe\snew\sclock\s\nscan,\sbut\swhat's\sthe\sequivalent\s8.5\ssyntax?\n
J foundin obsolete:\s8.4.9
J priority 5\sMedium
J resolution None
J status Open
J submitter dwcollins
J subsystem 16.\sCommands\sA-H
J title clock\sscan\s"next\swed"\sis\swrong?
J type Bug
K 1160695fffffffffffffffffffffffffffffffff
U dwcollins
Z b221a4267c249b0707029cb856d092d3