Files
sharang bhardwaj 768879121a Replace usage of removed timeutils.isotime()
timeutils.isotime() is no longer available in oslo_utils.

The error message says to use datetime.datetime.isoformat()
instead, but the format of the string generated by isoformat isn't
the same as the format of the string generated by isotime.

This change adds a local isotime() helper copying the
implementation of oslo_utils.timeutils.isotime() to
sysinv.objects.utils.isotime().

Test Plan:
PASS  AIO-SX

Story: 2011360

Change-Id: Ibad1cb3a49d39b451d999f11f37ca87347065589
Signed-off-by: sharang bhardwaj <sharang.bhardwaj@windriver.com>
2026-04-10 10:19:25 -04:00
..