fix(cli): fix two typos in the time unit

This commit is contained in:
firest 2023-08-16 18:46:17 +08:00
parent 0965387e46
commit 040d28c35e
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ pretty_print_rule(ID) ->
"Updated at:\n ~ts\n"
"Actions:\n ~s\n"
,[Id, Name, left_pad(Descr), Enable, left_pad(SQL),
emqx_utils_calendar:epoch_to_rfc3339(CreatedAt, second),
emqx_utils_calendar:epoch_to_rfc3339(UpdatedAt, second),
emqx_utils_calendar:epoch_to_rfc3339(CreatedAt, millisecond),
emqx_utils_calendar:epoch_to_rfc3339(UpdatedAt, millisecond),
[left_pad(format_action(A)) || A <- Actions]
]
);