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

Store valuation date in UTC #146

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Store valuation date in UTC #146

merged 1 commit into from
Oct 30, 2023

Conversation

gbirke
Copy link
Member

@gbirke gbirke commented Oct 27, 2023

All external payments now store their valuation date as (or rather the
time zone that's returned by he ValuationDateTimeZone) factory class.

Previously, the time zone information was just dropped, leading to
inaccurate valuation dates. This lead to troubles in the accounting
department where the PayPal payments (sent in PDT time zone) were off by
a day for a period of 6-8 hours.

The database column doesn't store the timezone information (and doesn't
need to, now that we've standardized on UTC).

https://phabricator.wikimedia.org/T349928

All external payments now store their valuation date as (or rather the
time zone that's returned by he ValuationDateTimeZone) factory class.

Previously, the time zone information was just dropped, leading to
inaccurate valuation dates. This lead to troubles in the accounting
department where the PayPal payments (sent in PDT time zone) were off by
a day for a period of 6-8 hours.

The database column doesn't store the timezone information (and doesn't
need to, now that we've standardized on UTC).
@moiikana moiikana merged commit a1cbb1d into main Oct 30, 2023
2 checks passed
@moiikana moiikana deleted the valuation-date-utc branch October 30, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants