Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

TimeZone Bug? #217

Open
Prman1 opened this issue Nov 19, 2015 · 1 comment
Open

TimeZone Bug? #217

Prman1 opened this issue Nov 19, 2015 · 1 comment

Comments

@Prman1
Copy link

Prman1 commented Nov 19, 2015

When I added some new podcasts I added a time as well as a date in the created date field in the publishing tab. I noticed that for podcasts with a starting time of 7:00 pm, the date was listed as the next day in iTunes. Perhaps the component is not taking into account my site timezone setting, which is Chicago?

As a workaround, I removed the time so that it entered as 00:00:00

Is this a bug?

Thanks for all your great work!
Stuart

@mbabker
Copy link
Member

mbabker commented Nov 19, 2015

It should behave pretty similar to other core Joomla components. Times are stored to the database in UTC and should be converted in the UI based on the user/site configuration when they're rendered. https://github.com/BabDev/Podcast-Manager/blob/master/com_podcastmanager/site/views/feed/view.raw.php#L341 is where that's converted so I might need to change it to use the Joomla JDate object instead of the native PHP stuff which has the timezone conversion logic in place.

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

No branches or pull requests

2 participants