nenupy.astro.astro_tools.to_local_time

nenupy.astro.astro_tools.to_local_time(time, time_zone='Europe/Paris')[source]

Convert UTC time to local time.

Parameters:
  • time (Time) – UTC time.

  • time_zone (str, optional) – Time zone of the target local time, by default “Europe/Paris”

Returns:

Local time

Return type:

Time