-
Notifications
You must be signed in to change notification settings - Fork 13
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
'start_date' date is not in valid ISO-8601 date only format #5
Comments
Here is a resulting request to tsheets server. Didn't yeat found where this uri is formed.
|
Hi, @skatkov, The reason you're obtaining the error is that the variable If you're using Rails, you can convert your I hope that helps. If you have any questions, let me know! |
@rogerogden I've tried that before, unfortunately gem demands certain object (DateTime) -- using Unfortunately, DateTime later on get's formatted not according to iso8601. I'm really not sure why that happens. |
@skatkov I think you might be able to get away with passing the returned string from the |
Format sent to tsheet api is not accepted.
TSheets::ExpectationFailedError: TSheets::ExpectationFailedError: 'start_date' date [Sat, 10/07/17 12:00 AM] is not in valid ISO-8601 date only format
code:
system:
OSX
ruby -v ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin15]
The text was updated successfully, but these errors were encountered: