iqm.station_control.client.serializers.datetime_serializers.serialize_datetime

iqm.station_control.client.serializers.datetime_serializers.serialize_datetime#

serialize_datetime(timestamp)#

Convert a datetime object to a string formatted according to ISO.

Parameters:

timestamp (datetime | None) –

Return type:

str | None