On Wed, Jan 11, 2012 at 02:17, Thomas Klausner via RT
<bug-App-TimeTracker@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=73859 >
>
> A fixed version (2.016) is on it's way to CPAN at the moment (and
> already on github).
>
> While I could not reproduce your exact problem, I think I discovered
> what happend: I assume you issued the --stop command a very short time
> before midnight, thus '2:30' was interpreted as 2:30 that morning, not
> the following day.
Nope. It was not the case. As I said in the first mail it was 03:XX.
Just wanted to subtract 30minutes as I forgot to stop timer.
Show quoted text> 'stop' now aborts if the stop time is earlier than the start time, which
> should have prevented your troubles (if my assumption is true..)
Would love to see app to be interactive in this case. Just add days
until end time is later than start time and ask if user ment this time
instead. What do you think about this? For example:
tracker stop --at HH:MM
Hey, you started at ..., but asked to stop at ...
Did you mean ...? [Y/n]
Show quoted text> The only other explanation would be some time-zone issues...
Europe/Moscow
Show quoted text> Anyway, thanks for the feedback (and the Test::MockTime tip),
> greetings,
> domm
--
Best regards, Ruslan.