Custom date range on interface traffic graph always shows 24 hours

Hi,

When I go to an interface traffic graph and manually select a custom start and end date/time, the graph doesn’t show the period I selected. It always shows around 24 hours instead.

The predefined periods, like 24 Hours, 1 Week, 1 Month, etc., work correctly. The problem only happens when using a custom date/time range.

For example, I can manually select a period of one week or one month, but after applying it, the graph still only displays around 24 hours of data.

This happens every time I try to use a custom period.

Expected: The graph should show the exact custom start and end date/time selected

Actual: The graph shows only around 24 hours

./validate.php output:

===========================================
Component | Version
--------- | -------
LibreNMS  | 26.7.0-dev.118+9be807158 (2026-07-09T20:39:53+01:00)
DB Schema | 2026_06_17_230632_migrate_status_reason_format_in_rules_and_templates (393)
PHP       | 8.4.23
Python    | 3.10.12
Database  | MariaDB 10.6.23-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

[OK]    Composer Version: 2.10.2
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQL and PHP time match
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is unavailable
[OK]    rrd_dir is writable
[OK]    rrdtool version ok