In /core/date.php, definition of method public static function factory($dateString, $timezone = null) is conflict with convention in reality and cause confusion #18641
Labels
c: Documentation
For issues related to in-app product help messages, or to the Matomo knowledge base.
Easier debugging
For issues that make troubleshooting issues for developers easier.
Milestone
In reality we are accustomed to local time + local timezone. The factory method with UTC time + local timezone is really confusing. If it aims at creating a local time, the class should be changed to another name.
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for Bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: