kazeburo/Apache-LogFormat-Compiler — pull request #3 by dex4er (2014-01-05 17:23:49+00:00)
Title: Check tzoffset for every line. Use POSIX::strftime::GNU if available.

Apache::LogFormat::Compiler has a problem. Twice a year the timezone is changed because of daylight saving. A::LF::C ignores this fact and still shows old timezone after change.

You can use POSIX::strftime::GNU which supports all GNU extenstions for strftime() function. It is good choise because Windows and old Unices have limited strftime's formatting. If you want to leave POSIX::strtime::GNU optional there can be fallback to own function which calculates tzoffset by its own.

Unfortunately this solution has some performance penalty but still there is a difference between log and compilelog:

```
compilelog: 3 wallclock secs ( 2.70 usr + 0.54 sys = 3.24 CPU) @ 15372.53/s (n=49807)
log: 4 wallclock secs ( 2.83 usr + 0.32 sys = 3.15 CPU) @ 11200.00/s (n=35280)
Rate log compilelog
```