Skip to content

tickle's next occurrence is next year when starting today #17

Open
@angelacode

Description

@angelacode
[6] pry(#<Event>)> self[:tickle_expression]
=> "every day starting today at 11:30 am"
[7] pry(#<Event>)> Time.now
=> 2017-05-06 18:26:05 +0000
[8] pry(#<Event>)> t = Tickle.parse(self[:tickle_expression])
=> {:next=>2018-05-06 11:30:00 +0000, :expression=>"day", :starting=>2018-05-06 11:30:00 +0000, :until=>nil}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions