Include hours minutes and seconds in date range so timestamps are not truncated to 12am each day.
This commit is contained in:
parent
cb57c29a93
commit
f810938f08
|
@ -712,8 +712,8 @@ function farm_sensor_listener_data_graphs_form($form, &$form_state, $asset) {
|
|||
'#default_value' => $names,
|
||||
);
|
||||
|
||||
// Provide a default date in the format YYYY-MM-DD.
|
||||
$format = 'Y-m-d';
|
||||
// Provide a default date in the format YYYY-MM-DD HH-MM-SS.
|
||||
$format = 'Y-m-d H:i:s';
|
||||
|
||||
// Get the latest timestamp data from saved data
|
||||
// or default to current time.
|
||||
|
|
Loading…
Reference in New Issue