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

Change PaymentModel#date type to datetime_utc #2

Open
wants to merge 1 commit into
base: adds_report_tax_type_attribute
Choose a base branch
from

Conversation

speric
Copy link

@speric speric commented Feb 12, 2016

By changing the type of PaymentModel#date to datetime_utc, we can pass timestamps with UTC offsets to Xero's payments API endpoint, and let Xero parse the dates in the proper timezone for the Organisation in context.

@speric speric force-pushed the payment-datetime-utc branch from cf5b177 to f58dba1 Compare February 12, 2016 20:29
By changing the type of `PaymentModel#date`, `Invoice#date`
to `datetime_utc`, we can
pass timestamps with UTC offsets to appropriate Xero API endpoints, and
let Xero parse the dates in the proper timezone for the Organisation in
context.
@speric speric force-pushed the payment-datetime-utc branch from f58dba1 to c383690 Compare February 12, 2016 22:44
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 this pull request may close these issues.

1 participant