Skip to content

Commit

Permalink
Sort timezone list
Browse files Browse the repository at this point in the history
Just easier to read/troubleshoot when looking at the code.
  • Loading branch information
clefebvre committed Nov 6, 2024
1 parent 355036f commit b9ce8b0
Show file tree
Hide file tree
Showing 2 changed files with 374 additions and 374 deletions.
2 changes: 1 addition & 1 deletion plugins/color/generate-tz-header.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
static TZCoords tz_coord_list[] = {
"""

for zone in d.keys():
for zone in sorted(d.keys()):
latitude, longitude = d[zone]

header += " { \"%s\", %f, %f },\n" % (zone, latitude, longitude)
Expand Down
Loading

0 comments on commit b9ce8b0

Please sign in to comment.