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

Sale dates are off by one day #204

Open
bertday opened this issue Oct 31, 2017 · 1 comment
Open

Sale dates are off by one day #204

bertday opened this issue Oct 31, 2017 · 1 comment
Labels

Comments

@bertday
Copy link
Contributor

bertday commented Oct 31, 2017

Compare sale date in the app:

http://property.phila.gov/?p=883309050

to sale date in Carto:

https://phl.carto.com/api/v2/sql?q=select+*+from+opa_properties_public+where+parcel_number+%3D+%27883309050%27

Seems to be a time zone issue with Moment.js.

@bertday bertday added the bug label Oct 31, 2017
@bertday
Copy link
Contributor Author

bertday commented Oct 31, 2017

Actually, Moment seems to be working fine. It's seeing a UTM date (e.g. 1993-09-17T00:00:00Z) and shifting it back to Eastern time. So, technically, the issue is that the time zone is off in the source data (Carto/DataBridge).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant