Skip to content

Review timezone handling #2

Description

@tcompa

On a given system, we have a non-UTC locale but httpd logs in UTC:

# timedatectl  | grep Time
                Time zone: Europe/Zurich (CEST, +0200)

# tail -n1 /var/log/httpd/access_log
X.X.X.X - - [29/Jun/2026:09:38:57 +0000] ...

and I observe

# apache-recent
Log file: /var/log/httpd/access_log
Log delta: 2026-06-28 06:42:43 -> 2026-06-29 09:38:57 (1 day, 2:56:14)

Stats for the last 10 minutes:

-- No log found --

Stats for the last 1 hour:

-- No log found --

Question: are the timestamp-parsing and the time-window check timezone-aware?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions