diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-08-12 18:42:31 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-08-12 18:42:31 +0800 |
commit | ed097192e3e53d92ed6f701f93bb1aae997caddd (patch) | |
tree | 0d84b14c2122e4f3965e95d87465d03429371b1d | |
parent | 6b11875a07f58817a82aae689458be90f8d691c0 (diff) |
pretty-printing of transaction log
-rw-r--r-- | easytool/easytool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/easytool/easytool.c b/easytool/easytool.c index 4481385..8ab2262 100644 --- a/easytool/easytool.c +++ b/easytool/easytool.c @@ -111,7 +111,7 @@ static void dump_easy_log(const struct easy_log_rec *elr) { time_t t_time = convert_timestamp(elr->timestamp); struct tm *t_tm = gmtime(&t_time); - printf("%u-%u-%u %u:%u | %10s %u NTD -> %u NTD remaining\n", + printf("%4u-%02u-%02u %02u:%02u | %10s | Paid %4u NTD | %4u NTD remaining\n", t_tm->tm_year+1900, t_tm->tm_mon+1, t_tm->tm_mday, t_tm->tm_hour, t_tm->tm_min, get_value_string(easy_tt_names, elr->trans_type), |