Re: [Scidvspc-users] Problem with June calendar
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: Okechukwu I. <af...@ch...> - 2017-07-07 11:52:18
|
Cool! Thanks for all the work you have put into this project! Okey On 07/04/2017 01:51 AM, Steve A wrote: > 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... > <mailto: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... > <mailto:sci...@li...> wrote: > > > > Send Scidvspc-users mailing list submissions to > > sci...@li... > <mailto:sci...@li...> > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > <https://lists.sourceforge.net/lists/listinfo/scidvspc-users> > > or, via email, send a message with subject or body 'help' to > > sci...@li... > <mailto:sci...@li...> > > > > You can reach the person managing the list at > > sci...@li... > <mailto: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... <mailto:ste...@gm...>> > > To: scidvspc-users <sci...@li... > <mailto:sci...@li...>> > > Subject: [Scidvspc-users] New Best Games widget / 4.18 shortly > > Message-ID: > > > <CAK...@ma... > <mailto:CAKDNZpE2VBR-098g%2Bi...@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... > <mailto:Sci...@li...> > > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > <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... > <mailto:Sci...@li...> > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > <https://lists.sourceforge.net/lists/listinfo/scidvspc-users> > > |