Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimeObj class to PHP's OO DateTime #72

Open
petsagouris opened this issue Jun 5, 2012 · 0 comments
Open

DateTimeObj class to PHP's OO DateTime #72

petsagouris opened this issue Jun 5, 2012 · 0 comments

Comments

@petsagouris
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant