phillipadsmith / A-Slippery-Fish

Mobile Web application for TheTyee.ca (Moved to The Tyee's Github account)
https://github.com/TheTyee/Project-Coho
2 stars 0 forks source link

Odd date issue #32

Closed phillipadsmith closed 13 years ago

phillipadsmith commented 13 years ago

I'm looking at the current "latest" story in the app, which is "Alaska Power ..." and in the list, and on the story page, it says 17 Feb, 2011. However, if I look at the JSON from the proxy, it says: 2011-02-18T00:40:00Z

Wondering if there's an issue with the publish_date_short and publish_date_long functions?

gregheo commented 13 years ago

It's doing time zone conversion. Since it's client side, it knows where you live too.

It's a feature, I say!

phillipadsmith commented 13 years ago

It's doing time zone conversion. Since it's client side, it knows where you live too.

Doesn't seem right. 2011-02-18T00:40:00Z is more than 24 hours ago now.

phillipadsmith commented 13 years ago

Doesn't seem right. 2011-02-18T00:40:00Z is more than 24 hours ago now.

Nevermind, I see what you're saying. Yes, that makes sense now. Closing this ticket.