I just installed cbb-0.9.2, ran it, created a new
group, after which the date field contained
m0/2d/4Y02
and when I moved my mouse outside the window I got a
dialog
Error: syntax error in expression "4Y * 100"
I traced this problem back to the expressions in the
source:
clock format [clock seconds] -format "%4Y%02m%02d"
which, on freebsd 4.1.1-release, tcl/tk 8.0, 8.2, or
8.3, produces 4Y02m02d as output. The man page for the
clock tcl function does not say that numbers are
allowed before the single-character format
specification. On redhat 7.0 linux the man page also
does not say that numbers are involved, but tcl/tk 8.2
produces the output you're expecting (20010616). Patch
to fix this uploaded as a file attachment.
patch to init.tcl and main.tcl in the tcl subdirectory
patch to init.tcl and main.tcl in the tcl subdirectory
Logged In: YES
user_id=179007
Use the *second* patch file "cbb-diff" NOT
"cbbdiff"--cbbdiff contains an extraneous unrelated change
and sourceforge won't let me delete it.
Logged In: YES
user_id=277491
Same problem with CBB 0.9.4 on Solaris 8 with tk/tcl 8.4.
Needed to change date format from %4Y%02m%02d to %Y%m%d.
Suspect date format also appears in menu.tcl, but didn't
bite me before I fixed it.