opencast / opencast-influxdb-adapter

Educational Community License v2.0
1 stars 4 forks source link

parsing timestamps from httpd logfile fixed #11

Closed wsmirnow closed 4 years ago

wsmirnow commented 4 years ago

On system with non english locale the date parser is unable to parse timestamps even though the date format string is correct. This issue happen, because the httpd timestamp contain an 3-digit month value in english. This patch force set the english locale on date time parser.

pmiddend commented 4 years ago

Could you quickly rebase onto the latest master? I've fixed the tests failing. The PR looks fine otherwise.

wsmirnow commented 4 years ago

Done.

pmiddend commented 4 years ago

@wsmirnow Thanks, will merge.