Re: [Scidvspc-users] Scidvspc-users Digest, Vol 60, Issue 1
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: Steve A <ste...@gm...> - 2017-07-04 06:51:27
|
Ok, i've fixed that. Funny bug... maybe tcl 'clock' behaviour has changed. S.A --- tcl/utils/date.tcl (revision 2717) +++ tcl/utils/date.tcl (working copy) @@ -188,12 +188,18 @@ } proc ::utils::date::_layout {time} { + set m [clock format $time -format "%m"] set month [string trimleft [clock format $time -format "%m"] 0] set year [clock format $time -format "%Y"] - foreach lastday {31 30 29 28} { - if {[catch {clock scan "$year-$month-$lastday"}] == 0} { break } + foreach lastday {29 30 31 32} { + # 'clock' does not have a validation command (?), so make our own + if {"$year-$m-$lastday" != [clock format [clock scan $year-$m-$lastday] -format {%Y-%m-%d}]} { + break + } } + incr lastday -1 + On Mon, Jul 3, 2017 at 6:21 AM, Okechukwu Iwu <af...@ch...> wrote: > I just noticed that when saving a game, the calendar pop-up for June shows > 31 days! Using version 4.17 > On Jul 1, 2017 8:08 AM, sci...@li... > wrote: > > > > Send Scidvspc-users mailing list submissions to > > sci...@li... > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > > or, via email, send a message with subject or body 'help' to > > sci...@li... > > > > You can reach the person managing the list at > > sci...@li... > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Scidvspc-users digest..." > > > > > > Today's Topics: > > > > 1. New Best Games widget / 4.18 shortly (Steve A) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sat, 1 Jul 2017 20:31:36 +1000 > > From: Steve A <ste...@gm...> > > To: scidvspc-users <sci...@li...> > > Subject: [Scidvspc-users] New Best Games widget / 4.18 shortly > > Message-ID: > > <CAK...@ma...> > > Content-Type: text/plain; charset="utf-8" > > > > Hi, > > I committed some code this weekend (a new Best Games window, aka the > > gamelist) > > and will probably make a release next weekend. > > So if anyone has any translation updates or bug reports - please let me > > know. > > > > Cheers, Steve > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > > > ------------------------------ > > > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > Scidvspc-users mailing list > > Sci...@li... > > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > > > > > > ------------------------------ > > > > End of Scidvspc-users Digest, Vol 60, Issue 1 > > ********************************************* > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Scidvspc-users mailing list > Sci...@li... > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > |