You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some plugins written over time rely on datetime represented data. In these cases, Cacti should provide a method to represent and evaluate that data correctly.
To Reproduce
The following steps should articulate properly.
Some old plugin developer saves a datetime value in the settings table using the system time zone
Later, you evaluate that data in php using you native timezone
If used in the GUI, people could be confused
If used for logic, bad things can happen
Expected behavior
Though it's bad carma to use datetime, it would be nice if cacti provided some simple functions to flip timezones back and forth.
The text was updated successfully, but these errors were encountered:
Describe the bug
Some plugins written over time rely on datetime represented data. In these cases, Cacti should provide a method to represent and evaluate that data correctly.
To Reproduce
The following steps should articulate properly.
Some old plugin developer saves a datetime value in the settings table using the system time zone
Later, you evaluate that data in php using you native timezone
If used in the GUI, people could be confused
If used for logic, bad things can happen
Expected behavior
Though it's bad carma to use datetime, it would be nice if cacti provided some simple functions to flip timezones back and forth.
The text was updated successfully, but these errors were encountered: