Convert UTC datetime and/or datetime without timezone information to local datetime with timezone
	information

	:param dt: datetime in UTC to convert. If is None, then system datetime value is used
	:param utc_value: whether dt is a datetime in UTC or in system timezone without timezone information
	:return: datetime for system (local) timezone with tz set

def local_datetime(dt=None, utc_value=True):
	""" Convert UTC datetime and/or datetime without timezone information to local datetime with timezone
	information

	:param dt: datetime in UTC to convert. If is None, then system datetime value is used
	:param utc_value: whether dt is a datetime in UTC or in system timezone without timezone information
	:return: datetime for system (local) timezone with tz set
	"""
	# TODO: rename utc_value to utc_tz or in_utc_tz
	if dt is None:
		return datetime.now(tz=local_tz())

	result = dt
	if result.utcoffset() is None:
		if utc_value is False:
			return result.replace(tzinfo=local_tz())
		else:
			result = result.replace(tzinfo=timezone.utc)

	return result.astimezone(local_tz())