aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-output.c
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@sigfox.com>2021-10-15 17:02:20 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-10-22 13:48:20 +0200
commit9d82d309782c70ed7247db32902f48adebe90669 (patch)
treebb6a51a909ae9c544d05986c9b9beb96013887df /cli/mmcli-output.c
parent0510e9aef8818eeaa445aea246b670871c671ddb (diff)
cli, plugins: factorize usage of iso8601 datetime format
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com> Includes updates by Aleksander Morgado to fix coding style issues.
Diffstat (limited to 'cli/mmcli-output.c')
-rw-r--r--cli/mmcli-output.c2
1 files changed, 1 insertions, 1 deletions
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;
}