Skip to content

[chore] - DateTimehandler.compare #76

@ErikFerrari

Description

@ErikFerrari

Add a compare function in the datetime handler similar to the below one:
NaiveDateTime.compare(otp_unit.data.expiry_datetime, NaiveDateTime.utc_now())

same for date and time and also one which match a :now which provide to get the date/time/datetime now and compare it

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