From a62e83b48cda6a709a796a361abaf6b129650b3c Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Fri, 3 Oct 2014 09:51:33 +0200 Subject: journalctl: make --utc work everywhere The --utc option was introduced by commit 9fd290443f5f99fca0dcd4216b1de70f7d3b8db1. Howerver, the implementation was incomplete. --- src/shared/time-util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shared/time-util.h') diff --git a/src/shared/time-util.h b/src/shared/time-util.h index 8ba1cfee8e..16cc593cf5 100644 --- a/src/shared/time-util.h +++ b/src/shared/time-util.h @@ -84,8 +84,9 @@ struct timespec *timespec_store(struct timespec *ts, usec_t u); usec_t timeval_load(const struct timeval *tv) _pure_; struct timeval *timeval_store(struct timeval *tv, usec_t u); +char *format_timestamp_internal(char *buf, size_t l, usec_t t, bool utc); char *format_timestamp(char *buf, size_t l, usec_t t); -char *format_timestamp_us(char *buf, size_t l, usec_t t); +char *format_timestamp_us(char *buf, size_t l, usec_t t, bool utc); char *format_timestamp_relative(char *buf, size_t l, usec_t t); char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy); -- cgit v1.2.3-54-g00ecf