projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the time module alltogether.
[apps/madmutt.git]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index
6e213a2
..
7744e95
100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-384,8
+384,8
@@
static const char *get_offset (struct tm *tm, const char *s, int sign)
default:
return s;
}
default:
return s;
}
- m
utt_normalize_time
(tm);
- return
(ps + 1)
;
+ m
ktime
(tm);
+ return
ps + 1
;
}
static void adjust_date_range (struct tm *min, struct tm *max)
}
static void adjust_date_range (struct tm *min, struct tm *max)
@@
-602,8
+602,8
@@
static int eat_date (pattern_t * pat, BUFFER * s, BUFFER * err)
/* Since we allow two dates to be specified we'll have to adjust that. */
adjust_date_range (&min, &max);
/* Since we allow two dates to be specified we'll have to adjust that. */
adjust_date_range (&min, &max);
- pat->min = m
utt_mktime (&min, 1
);
- pat->max = m
utt_mktime (&max, 1
);
+ pat->min = m
ktime(&min
);
+ pat->max = m
ktime(&max
);
p_delete(&buffer.data);
p_delete(&buffer.data);