← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 531970] Re: Team events removed from list according to UTC

 

after a little research on python and timezones there are a few things
to consider.

*OFFSET: Websites around the globe tend to determine via javascript the
timezone offset between GMT and the respective local time, that's how
they determine local time. However, this does not necesarily provide the
timezone the client is in as there might be different timezones with the
same offset at any given point.

*IP: Other websites tend to use the user's ip address and trace it to
find the location of the user and then calculating time.

*Choose the timezone: sites like timeanddate.com let you choose the
timezone you are in.

*Django timezones: there is an application that is able to determine the
timezone of a user and save it in a profile to make use of it on the
site. http://github.com/brosner/django-timezones. It involves changes in
the user profile of the application. changes that would need migration
from the database.

the solution to this particular bug has been commited and merged (24
hour extra time in the list). and if we want to implement more robust
methods of determining the local timezone for the event, we must think
about the limitations with regards web apps and timezones and come up
with a unified way of keeping this simple.

I think this bug has been fixed for the time being, events are not being
removed as of UTC timezone calculations. a new bug should be filed
requesting for local times in team events.

-- 
Team events removed from list according to UTC
https://bugs.launchpad.net/bugs/531970
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.

Status in LoCo Directory: Confirmed

Bug description:
Team events are supposed to list start/end time in local time, but they are removed from the list by interpreting their times as UTC.  Either the times should be translated to UTC instead of local time (though this doesn't make sense for strictly local events), or they should not be removed from the list until end_time + 24 hours.





References