Skip to content
Browse files

Fixed Bug: plan wouldn't set time on '<date>/<activity>' formatted ac…

…tivities
  • Loading branch information...
1 parent 5a76e22 commit 66d2260aa6456170ae304856f889f86a3a16b525 @nickziv committed Oct 15, 2011
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/plan_main.c
View
8 src/plan_main.c
@@ -750,12 +750,8 @@ do_time(int ac, char *av[])
n = strchr(av[2], '/');
n += 1;
- if (*av[2] >= 48 && *av[2] <= 57) {
- parse_date(av[2], &date);
- } else {
- day = parse_day(av[2]);
- date = NULL;
- }
+ parse_date(av[2], &date);
+ day = parse_day(av[2]);
if (day == -1 && date == 0) {
day_err();

0 comments on commit 66d2260

Please sign in to comment.
Something went wrong with that request. Please try again.