From 9d82d309782c70ed7247db32902f48adebe90669 Mon Sep 17 00:00:00 2001 From: Frederic Martinsons Date: Fri, 15 Oct 2021 17:02:20 +0200 Subject: cli, plugins: factorize usage of iso8601 datetime format Signed-off-by: Frederic Martinsons Includes updates by Aleksander Morgado to fix coding style issues. --- cli/mmcli-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/mmcli-output.c') diff --git a/cli/mmcli-output.c b/cli/mmcli-output.c index 90bd753a..5b8a10d4 100644 --- a/cli/mmcli-output.c +++ b/cli/mmcli-output.c @@ -603,7 +603,7 @@ mmcli_output_start_date (guint64 value) { /* Merge value and recent flag in a single item in human output */ if (selected_type == MMC_OUTPUT_TYPE_HUMAN) { - output_item_new_take_single (MMC_F_BEARER_STATS_START_DATE, mm_format_iso8601 (value)); + output_item_new_take_single (MMC_F_BEARER_STATS_START_DATE, mm_new_iso8601_time_from_unix_time (value)); return; } -- cgit v1.2.3-70-g09d2