zut.time.make_aware

zut.time.make_aware(value: datetime, tz: tzinfo | Literal['local', 'utc'] | str = 'local') datetime

Make a naive datetime aware in the given timezone.

Parameters:

tz – Use tz=’local’ for the system local timezone or tz=’utc’ for UTC.