Anonymous | Login | Signup for a new account | 2024-04-20 01:02 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #58 | [ Back to Issue ] | ||
Summary | 0000058: Add Timezone Field to User record | ||
Revision | 2012-01-04 02:23:18 by alex | ||
Additional Information | Plan: 1. remove "tz" column from PortalUser table 2. add TimeZone column (varchar(255)) into PortalUser table 3. use same control as for website timezone entering (2 dropdowns in a row) 4. display new TimeZone field on both user/admin editing screens in admin and on user registration/my profile forms on front-end 5. hide new TimeZone field from user/admin editing form by default via simple interface preset 6. in kApplication::ValidateLogin method do putenv('TZ=<time_zone_string_here>') (http://www.php.net/manual/ru/function.putenv.php#11811) only when user has selected his timezone. 7. all timestamps in db are always in UTC, so no additional timestamp processing except putenv is needed 8. create 2 users with different timezones (different from each other and from server) and verify that each of them properly sees dates (e.g. link submission date) from other user actions. 9. create user without a timezone set and verify that he still works as before this task implementation. |
||
Revision | 2012-01-03 17:33:45 by alex | ||
Additional Information | |||
Revision | 2010-09-06 05:35:26 by alex | ||
Description | 1. Add Timezone field to user record (dropdown), default to empty value which means user is in same timezone with webserver. 3. When user authenticates on site (performs login) store it's timezone (if any) to session for easy access in future. In case if user haven't selected timezone, then user server timezone (as now) for calculations. |
||
Revision | 2010-09-06 05:35:09 by alex | ||
Description | 1. Add Timezone field to user record (dropdown), default to empty value which means user is in same timezone with webserver. 3. When user authenticates on site (performs login) store it's timezone (if any) to session for easy access in future. In case if user haven't selected timezone, then user server timezone (as now) for calculations. |
||
Revision | 2010-09-06 05:33:37 by alex | ||
Description | 1. Add Timezone field to user record (dropdown), default to empty value which means user is in same timezone with webserver. [S]2. During installation set both timezones (2 configuration settings in Advanced configuration section) to current server timezone.[/S] - done in 0000743 issue 3. When user authenticates on site (performs login) store it's timezone (if any) to session for easy access in future. In case if user haven't selected timezone, then user server timezone (as now) for calculations. |
||
Revision | 2009-06-08 11:44:05 by Dmitry | ||
Description | 1. Add Timezone field to user record (dropdown), default to empty value which means user is in same timezone with webserver. 2. During installation set both timezones (2 configuration settings in Advanced configuration section) to current server timezone. 3. When user authenticates on site (performs login) store it's timezone (if any) to session for easy access in future. In case if user haven't selected timezone, then user server timezone (as now) for calculations. |
||
Revision | 2009-06-08 11:44:05 by Dmitry | ||
Description | 1. Add Timezone field to user record (dropdown), default to empty value which means user is in same timezone with webserver. 2. During installation set both timezones (2 configuration settings in Advanced configuration section) to current server timezone. 3. When user authenticates on site (performs login) store it's timezone (if any) to session for easy access in future. In case if user haven't selected timezone, then user server timezone (as now) for calculations. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |