nationalparkservice / places-api

An API, written in Node as Express middleware, built to work with the OSM API database schema. Used internally by Places.
The Unlicense
0 stars 0 forks source link

Set timezone in query, to get iso format on output. #21

Closed regan-sarwas closed 9 years ago

regan-sarwas commented 9 years ago

The localized timestamp is a bear to parse. This is much more machine friendly.

jimmyrocks commented 9 years ago

I can see how this is a pain. We do everything in Mountain Time, which works for our team, but this is much better. Thanks!

On Wed, Sep 30, 2015 at 6:51 PM, Regan Sarwas notifications@github.com wrote:

The localized timestamp is a bear to parse. This is much more machine

friendly.

You can view, comment on, or merge this pull request online at:

https://github.com/nationalparkservice/places-api/pull/21 Commit Summary

  • Set timezone in query, to get iso format on output.

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/nationalparkservice/places-api/pull/21.

regan-sarwas commented 9 years ago

Thanks. When you get a second, can you restart the api service on the test and prod databases so I can verify it is working with arc2places.

jimmyrocks commented 9 years ago

Regan, I can add it to test for now. Will that work? We have some uploads going on in prod, so I will wait to restart that

On Thu, Oct 1, 2015 at 3:49 PM, Regan Sarwas notifications@github.com wrote:

Thanks. When you get a second, can you restart the api service on the test and prod databases so I can verify it is working with arc2places.

— Reply to this email directly or view it on GitHub https://github.com/nationalparkservice/places-api/pull/21#issuecomment-144827764 .

jimmyrocks commented 9 years ago

And test is working! Let me know how it works for you.

On Thu, Oct 1, 2015 at 3:50 PM, Mcandrew, James < james_mcandrew@partner.nps.gov> wrote:

Regan, I can add it to test for now. Will that work? We have some uploads going on in prod, so I will wait to restart that

On Thu, Oct 1, 2015 at 3:49 PM, Regan Sarwas notifications@github.com wrote:

Thanks. When you get a second, can you restart the api service on the test and prod databases so I can verify it is working with arc2places.

— Reply to this email directly or view it on GitHub https://github.com/nationalparkservice/places-api/pull/21#issuecomment-144827764 .

regan-sarwas commented 9 years ago

Works great! Thanks for your great support! No rush on prod. I don't think anyone using arc2places is ready to upload data to production just yet.