diff options
| author | Philip Paeps <philip@FreeBSD.org> | 2018-10-28 23:50:24 +0000 |
|---|---|---|
| committer | Philip Paeps <philip@FreeBSD.org> | 2018-10-28 23:50:24 +0000 |
| commit | fa550f940d8d5c5407528a8b5618c505f31156a7 (patch) | |
| tree | dfcebce6e6b11a695539a835f8fc43e4cab1896f /ziguard.awk | |
| parent | 2f05a751b70c7084f5b0434c5b5b1370d56cf010 (diff) | |
Diffstat (limited to 'ziguard.awk')
| -rw-r--r-- | ziguard.awk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ziguard.awk b/ziguard.awk index 42e29101d94a..e3c729832dd3 100644 --- a/ziguard.awk +++ b/ziguard.awk @@ -80,6 +80,13 @@ DATAFORM != "main" { if (comment_out) { sub(/^/, "#") } + + # In rearguard format, change the Japan rule line with "Sat>=8 25:00" + # to "Sun>=9 1:00", to cater to zic before 2007 and to older Java. + if (!vanguard && $1 == "Rule" && $7 == "Sat>=8" && $8 == "25:00") { + sub(/Sat>=8/, "Sun>=9") + sub(/25:00/, " 1:00") + } } # If a Link line is followed by a Zone line for the same data, comment |
