sunpeek.common.plot_utils.utc_str#

sunpeek.common.plot_utils.utc_str(d, tz, format_spec='%Y-%m-%d %H:%M')#

Pretty-print a timezone-aware datetime to e.g. ‘2017-05-25 10:31 (UTC+1)’.

Return type:

str