Skip to content

DateTime incorrectly handles constructor arguments #327

@AdamLutka

Description

@AdamLutka

Version: 4.0.7

Bug Description

\Nette\Utils\DateTime ignores word ago in constructor argument

Steps To Reproduce

new \Nette\Utils\DateTime('1 hour ago')

Expected Behavior

It should be time in the past.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions