Bug / issue with the time of events and time in general:
I created an event in another timezone and country outside of my profiles current address (home address) and it seems that the time at the current or home address is used and not the time in that country?
The Events Local time and timezone should be used, and when displaying the event it would be nice to show the time of the event, and which timezone its in, and the equivalent local time...
It would’nt make any sense to enter an international event in the users local time…
When you implement current location in the Dolphin core as Denre does in the geolocater mod, it would be nice to see the local time equivalent at the current location and not the home location, you could however offer the option to display local time, home location time, and the event time. But event entry time must always be local time at the events location...
|
I had to custom code this. I coded to capture the UTC/GMT time in the database based on the event creator's timezone.
Members see the times in UTC as well as in their computer's timezone.
I need to test it a bit on responsive site and on mobile app.
|
Always server time and server timezone is used to display the time. Starting from Dolphin 7.2.1 you can change timezone in Admin Panel > Settings > Basic Settings > Site Timezone. Your local computer timezone isn't used, so if you select some time for the event it will be the same time with no difference where are viewing it from. I understand that It can be confusing when somebody with different timezone is looking at the event, but it should be obvious that it is local time where the event is hosted. By default there is no timezone identifier near the time, but if format is changed and timezone identifier is added then it can be confusing. Rules → http://www.boonex.com/terms |
So are you saying if my server is based in vietnam and a user enters an event in the usa at 7pm, it will not be USA time it will be vietnam time? or if a user enter an event from home location of Vietnam in the USA it will be Vietnam time?
If this is the case it would make no sense at all? The timezone of the event should be its local time only? not the servers time or the users local time but the events time and timezones local time?
And the time to the event should be the users local time, if gps current location is used when a current location is implemented then time to the event should be that time zone and locations time to event?
Otherwise the only one that the time make sense to is the server or the user that entered it if he knows that he is entering the time as his local time even if its in another time zone??
Ideally you would need to display time at the event location, time at users home location and time at current location if gps location is implemented...
Now I know this may be difficult on a programmers side of things, but a good programmer makes things simple and clear for the user... and as a user this is the only way for this to be simple ;)
As no user cares where the server is... or the time of the event creators location... they need to know the time of the event at the location... i would make this a priority to fix ;) I think google has a timezone api... and there are others out there the may do the job for you ;)) |
There is no timezone identifier near the time. As the result the time entered by the user is displayed. Rules → http://www.boonex.com/terms |