This is a patch that adds support to awstats 7.1 to parse the date format used by syslog-ng (iso format).
The format is: yyyy-mm-ddThh:mm:ss+00:00
Laurent Destailleur (Eldy)
Patch added into dev branch.
Robert P. Thille
I haven't been able to test this patch, but from reading it, it'll fail on TZ's which are 'behind' GMT (-08:00), like California.
Here's a regex which should handle + or - TZ's and do a little more verification:
Just swap in this one line for the similar line in the patch.