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

add .unixtime(), .milliseconds() #8

Closed
calvinfo opened this issue Mar 13, 2014 · 1 comment
Closed

add .unixtime(), .milliseconds() #8

calvinfo opened this issue Mar 13, 2014 · 1 comment

Comments

@calvinfo
Copy link
Contributor

So many of these guys require odd date formats for their values. Might be worth adding methods to the prototype indicating that we should convert any object values which match an iso8601 string to unix timestamps

CustomerIO = integration('Customer.io')
  .mapper(mapper) // unix timestamps get passed in here
  .retries(2)
  .unixtime()

cc @yields

@yields
Copy link
Contributor

yields commented Mar 13, 2014

sounds good :)

@ccnixon ccnixon closed this as completed Jun 9, 2019
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

No branches or pull requests

3 participants