Hi all,
The alarm has a new bug, also related to the regex-ing, I think. A
Nonymous reported it as a response to my e-mail cited below.
Here's the deal;
If you don't use hh:mm format, but h:mm, the regex for point in time
doesn't match, but the one for number of minutes does.
So, if your current time is 08:00, and you run
alarm 9:15
it's going to fire at 08:09, i.e. 9 minutes into the future, with a text
of ":15". The behavior appears somewhat random, since it tells you:
Alarm set for 08:09.
when you know you typed in 9:15.
I believe the allowed input should be
alarm hh:mm [text]
or
alarm mm [text]
I think it should either accept single-digit hours, or disqualify
unrecognized formats. One way would probably be to require a whitespace
between minutes and text... My regex knowledge isn't great and I'm
pretty busy at my real-life work, so I'd be ever so grateful if someone
else could look into this before the weekend.
Thanks,
Kim
[Original e-mail conversation follows]
> -----Original Message-----
> From: A Nonymous [mailto:[EMAIL PROTECTED]
> Sent: den 13 januari 2004 10:14
> To: [EMAIL PROTECTED]
> Subject: RE: DQSD: Alarm fixed?
>
>
> Not exactly - I just tried it. If I try to set an alarm for
> 9:13 it tells me
> 9:21. If I set it for 9:15 it tells me it's set for 9:22 -
> and it does the
> same whether I put in text as well or not. If anything a step
> backwards!
>
> >From: Kim Gr�sman <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: DQSD: Alarm fixed?
> >Date: Wed, 7 Jan 2004 20:10:19 +0100
> >
> >Hi,
> >
> >I maintain the releases of DQSD - Dave's Quick Search Deskbar.
> >
> >You reported a problem regarding alarms in 3.1.8 [1], which
> I believe
> >is fixed in the latest beta [2]. Would you be so kind as to
> verify that
> >it's fixed, and I can close the bug in SourceForge's database.
> >
> >Thanks!
> >
> >Kim Gr�sman.
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel