Skip to content

Commit

Permalink
Fix tzdb parsing to handle new offset comments in 2022b
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardHinnant committed Aug 12, 2022
1 parent c82b776 commit 22ceabf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3660,6 +3660,10 @@ init_tzdb()
{
db->zones.back().add(line);
}
else if (word.size() > 0 && word[0] == '#')
{
continue;
}
else
{
std::cerr << line << '\n';
Expand Down

0 comments on commit 22ceabf

Please sign in to comment.