HomeClusterLabs Projects

Refactor: libcrmcommon: Slight cleanup of crm_time_as_string()

Description

Refactor: libcrmcommon: Slight cleanup of crm_time_as_string()

Get UTC time only if needed. Merge redundant date_time and dt variables.
Use pcmk_is_set() and pcmk__str_update().

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Nov 10 2022, 1:22 PM
Parents
rPeee6591edc8e: Merge pull request #2921 from nrwahl2/nrwahl2-T174
Branches
Unknown
Tags
Unknown