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

Modifying now() #21

Closed
imranismail opened this issue Mar 21, 2019 · 1 comment · Fixed by #24
Closed

Modifying now() #21

imranismail opened this issue Mar 21, 2019 · 1 comment · Fixed by #24

Comments

@imranismail
Copy link

Is there a clean way to alter the now() return value to be in the future?

[[scenario.table.row]]
  name = "15% Cashback"
  description = "Get 15% cashback when you purchase a cup of coffee from our participating outlets"
  starts_at = "<%= now() %>"
  ends_at = "<%= now() %>" <-- modify this to be later
  created_at = "<%= now() %>"
  updated_at = "<%= now() %>"
@markbates
Copy link
Member

markbates commented Mar 21, 2019 via email

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

Successfully merging a pull request may close this issue.

2 participants