Mercurial > hgrepos > hgweb.cgi > after5
changeset 9:fbe1de450bd7 draft
RCS-revision 1.10
date: 2004/01/20 17:21:36; author: yuuji; state: Exp; lines: +4 -4
When registering continuous allday schedule,
last days's schedule disappeared. Fixed
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 20 Jan 2004 17:21:36 +0859 |
parents | 55548317a101 |
children | b2f1a9482975 |
files | after5.rb |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/after5.rb Fri Jan 16 14:45:49 2004 +0859 +++ b/after5.rb Tue Jan 20 17:21:36 2004 +0859 @@ -2,8 +2,8 @@ # # Associative Scheduling Table - after5 # (C)2003, 2004 by HIROSE Yuuji [yuuji@gentei.org] -# $Id: after5.rb,v 1.9 2004/01/16 14:45:49 yuuji Exp $ -# Last modified Fri Jan 16 23:25:14 2004 on firestorm +# $Id: after5.rb,v 1.10 2004/01/20 17:21:36 yuuji Exp $ +# Last modified Wed Jan 21 02:19:14 2004 on firestorm # See http://www.gentei.org/~yuuji/software/after5/ # このスクリプトはEUCで保存してください。 @@ -1541,7 +1541,7 @@ topic = sprintf "%s%s", time == @opt['alldaydir'] ? '' : time+":", if personal - (@params['user'] == who ? "" : who+"=") + + (@params['user'] == who ? "" : nickname(who)+"=") + text ## .split("\n") ##[0] else nickname(who) + \ @@ -2021,7 +2021,7 @@ if wwday==7 || wwday==ti.wday daylist << [ti.year, ti.month, ti.day] end - end while (ti=Time.at(ti+3600*24)) < endtime + end while (ti=Time.at(ti+3600*24)) <= endtime else daylist = [[sy, sm, sd]] end