On Thu, 15 Jan 2004 09:15:40 +0100, Kim GrÃsman <[EMAIL PROTECTED]> wrote:

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


The alarm function uses 24 hour (military time) only. The timestamp of 9:15 is therefore invalid. This could be handled better, but its not a bug..


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.

There is no reason to require a space between the minutes and alarm text if the 24 hour time is followed.. I think we just recently changed this as it used to require a space, and after someone posted a note about it, there seemed to be no reason to do so..


Anyway I will look in to improving the handling a bit..

Monty


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ DQSD-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to