Skip to content

DateTimeObj class to PHP's OO DateTime #72

@petsagouris

Description

@petsagouris

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions