Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/timezone' into timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Jun 4, 2024
2 parents 48d8e76 + 6d03f2e commit 051bbd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyflask/namespaces/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def get(self) -> Union[Dict[str, int], None]:

return dict(physical=physical, logical=logical)


@system_namespace.route("/all_timezones")
class GetTimezones(flask_restx.Resource):

Expand All @@ -42,4 +43,4 @@ class GetTimezones(flask_restx.Resource):
def get(self) -> str:
import tzlocal

return tzlocal.get_localzone_name()
return tzlocal.get_localzone_name()

0 comments on commit 051bbd5

Please sign in to comment.