0x21-consulting / Thriver

Thriver, a Content Management System for Nonprofit Organizations
MIT License
6 stars 2 forks source link

Learning Center / Infosheets - Date One Day Prior #268

Closed peterfiala closed 7 years ago

peterfiala commented 7 years ago

I noticed when I entered in a publishing date, the date that shows up is one day prior.

micchickenburger commented 7 years ago

Good eye!

micchickenburger commented 7 years ago

The problem was that news and learning center items were being added to the database in UTC, but the web browser was rendering the time in the local time zone. Central time is UTC-5 hours, which puts you a day back.

peterfiala commented 7 years ago

Welcome! Glad we caught it and thanks for fixing.

Peter

Peter Fiala Technology & Events Coordinator Wisconsin Coalition Against Sexual Assault (WCASA) 2801 W. Beltline Hwy., Ste 202, Madison, WI 53713 Telephone: 608-257-1516; Direct: 608-284-5494 Fax: 608-257-2150 Website: www.wcasa.orghttp://www.wcasa.org/ [link to wcasa's Facebook page]http://www.facebook.com/wcasa [link to wcasa's Twitter feed] http://twitter.com/wcasa_vpcc [https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS8fWOIOHiKkDuBEon9eoc4_Rkp-EW-KLKXvst0VMmewXeOO9ZF] http://www.youtube.com/user/wcasavpcc


From: Micah Henning notifications@github.com Sent: Wednesday, June 7, 2017 10:09:50 PM To: enove/Thriver Cc: Peter Fiala; Author Subject: Re: [enove/Thriver] Learning Center / Infosheets - Date One Day Prior (#268)

The problem was that news and learning center items were being added to the database in UTC, but the web browser was rendering the time in the local time zone. Central time is UTC-5 hours, which puts you a day back.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/enove/Thriver/issues/268#issuecomment-306985914, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVMppTp5ZamDApSTT0bZbyiHGJDemWDiks5sB2X-gaJpZM4NwSTi.