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
Maybe it is time to get the DateTimeObj class to extend PHP's DateTime class so that it becomes more powerful and allow for the elimination some of its code.
Furthermore, the setDefaultTimezone() does not semantically belong into the DateTimeObj object since it tampers with the global PHP configuration for its own good. It should be moved outside that class; maybe into include.utilities.php ?
The text was updated successfully, but these errors were encountered:
Maybe it is time to get the
DateTimeObj
class to extend PHP's DateTime class so that it becomes more powerful and allow for the elimination some of its code.Furthermore, the
setDefaultTimezone()
does not semantically belong into theDateTimeObj
object since it tampers with the global PHP configuration for its own good. It should be moved outside that class; maybe intoinclude.utilities.php
?The text was updated successfully, but these errors were encountered: