Event Calendar times not showing in my time zone

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/5/2011 4:31:42 PM
Gravatar
Total Posts 9

Event Calendar times not showing in my time zone

Hi again,

The Event Calendar does not translate event times into the time zone defined in my user profile. For system information see this post.

How to Reproduce:

  1. Login to demo site as admin.
  2. Add an event and note the time.
  3. Access "My Account" and under the "Profile" tab change the time zone. For example, change "(GMT-5:00) Eastern Time (US & Canada)" to "(GMT+12:00) Auckland, Wellington".
  4. Go back to the event you added before and the time is the same. It probably should be displayed in the user profile's time zone.

Possible Fix:

In brief, I fixed this in my custom feature by translating the user's local time into UTC on the way in and vice versa on the way out. All times are stored as UTC in the DB and translations are done using the time zone setting in the user's profile (TimeZoneInfo class is very useful if your not on mono). MojoPortal already provides much of the infrastructure to do this.

Regards,

Jonas

4/6/2011 8:08:05 AM
Gravatar
Total Posts 18439

Re: Event Calendar times not showing in my time zone

Most things in mojoPortal do store the dates as UTC and adapts it to the user profile time zone. However the free Event Calendar in mojoPortal is one of the older features and it does not do this.

In many scenarios for Events it is more desirable to publish events according to a specific time zone such as the actual time zone of the location where the event is. Event Calendar Pro allows you to choose a specific time zone for the events or to have it adapt to the user time zone. It can also display the time zone so there is no ambiguity.

Sales of Event Calendar Pro help support the ongoing development of mojoPortal. For that reason I have no intentions of making improvements other than bug fixes to the free Event Calendar included in mojoPortal because that would work against sales of Event Calendar Pro. People can clone the free Event Calendar and modify it to their needs or they can consider helping the project by purchasing Event Calendar Pro.

So I'm sorry but I'm not going to consider this a bug but a feature request and I have no  current intentions of implementing this feature improvement for the free Event Calendar. People can edit the free event calendar by setting their own time zone to the same as the site default and then events will always show in the time zone of the site. To keep it from being ambiguous you could add html to the page to indicate the time zone.

Best,

Joe

4/6/2011 3:46:01 PM
Gravatar
Total Posts 9

Re: Event Calendar times not showing in my time zone

Hi Joe,

Good point about it being a feature request rather than a bug and fair enough for not competing with yourself. It's great that Event Calendar Pro already supports it.

Regards,

Jonas

You must sign in to post in the forums. This thread is closed to new posts.