Honour user's time format when editing entry duration.

This commit is contained in:
Felicity Tarnell 2014-03-08 13:58:21 +00:00
parent 0479ee0f89
commit 49651c90a2
2 changed files with 8 additions and 1 deletions

2
ui.c
View file

@ -623,7 +623,7 @@ wchar_t *defstr = NULL;
wchar_t *tstr;
time_t ret;
defstr = maketime(def, TIME_AHMS);
defstr = maketime(def, TIMEFMT_FOR_EDIT(time_format));
if ((tstr = prompt(pr, defstr, NULL)) == NULL) {
free(defstr);