Project

General

Profile

Feature #166

Implement timezone feature

Added by Yannick Warnier almost 11 years ago. Updated over 9 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Sven Vanpoucke
Target version:
Start date:
18/11/2009
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Complexity:
Normal

Description

In the same taste of the "first day of the week" feature, a timezone feature allows people geographically remote to work in their own timezone (send assigned work in time). This should be a system setting as well as a user setting, as the system may be installed on a server which hosts portals in different timezones.
All time-related information should be shown in the recorded timezone of the user.

Technically, this could be extended to courses (define a default timezone in which the course is held, which helps knowing when there will be someone available for answers), but this is way out of the scope here.

If implementing in 2.0, please report the time taken here, to give me an idea of the time required for that kind of feature.


Related issues

Related to Common - Feature #86: Administration - Setting: First day of the weekBug resolved22/10/2009

Actions

History

#1

Updated by Sven Vanpoucke almost 11 years ago

  • Assignee set to Sven Vanpoucke

I will look into this when i'm back from holiday

I think this is the feature we can use, then we only need to implement a setting for the admin and one for the users
http://www.php.net/manual/en/function.date-default-timezone-set.php

#2

Updated by Sven Vanpoucke almost 11 years ago

  • Target version changed from 7 to 2
#3

Updated by Sven Vanpoucke almost 11 years ago

  • % Done changed from 0 to 100

Added this feature in
http://code.google.com/p/chamilo/source/detail?r=5b687ad0bcccf48095a4a63fe82fce653afa2140&repo=chamilo

I only have a few small remarks:

Not all the timezones are yet defined in timezones.txt (found in admin/settings) this should be updated
There is still a problem when updating the setting in either my account or the platform setting (i'll try to get a fix for it as soon as possible)

#4

Updated by Sven Vanpoucke almost 11 years ago

  • Status changed from New to Needs testing

Found a solution for the bugs with the save function
http://code.google.com/p/chamilo/source/detail?r=6e2ec8ce7cf74a883f02248c861c1de7fc406d24&repo=chamilo

The list of timezones still needs to be completed (stefaan can you do this with help of (http://php.net/manual/en/timezones.php). Europe is already implemented!

Thanks

#5

Updated by Stefaan Vanbillemont almost 11 years ago

  • Status changed from Needs testing to Bug resolved

Michel added all missing timezones.

#6

Updated by Stefaan Vanbillemont over 9 years ago

  • Project changed from Chamilo LCMS Connect to Common
  • Category deleted (21)
#7

Updated by Stefaan Vanbillemont over 9 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF