Mercurial > personal > weather-server
comparison weather_server/types.py @ 39:b77c8e7d2742
Use zoneinfo rather than pytz.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 01 Apr 2025 15:54:21 -0400 |
parents | beb42c835c52 |
children | 4af79d69b12e |
comparison
equal
deleted
inserted
replaced
38:d5a18ecebf47 | 39:b77c8e7d2742 |
---|---|
3 import datetime | 3 import datetime |
4 import math | 4 import math |
5 import typing as t | 5 import typing as t |
6 | 6 |
7 import attr | 7 import attr |
8 | |
9 | 8 |
10 T = t.TypeVar('T') | 9 T = t.TypeVar('T') |
11 | 10 |
12 | 11 |
13 def c_to_f(c: float) -> float: | 12 def c_to_f(c: float) -> float: |