| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [ticket/11002] Use translating option to rename the Etc/GMT options | Joas Schilling | 2012-07-21 | 1 | -40/+40 |
| | | | | | | | | They have the invers offset of their name. So GMT+2 has the offset -7200. To avoid additional confusion, we simply overwrite their name. PHPBB3-11002 | ||||
| * | Merge pull request #843 from nickvergessen/feature/new-tz-handling | Nils Adermann | 2012-07-19 | 12 | -114/+598 |
| |\ | | | | | Feature/new tz handling | ||||
| | * | [feature/new-tz-handling] Don't use global user but make it a parameter | Joas Schilling | 2012-07-19 | 5 | -8/+11 |
| | | | | | | | | | PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Fall back to UTC, if the timezone is invalid | Joas Schilling | 2012-07-19 | 2 | -2/+17 |
| | | | | | | | | | | | | | This should avoid problems, when the board files are updated but database isn't. PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Add previous selected value to validation if valid | Joas Schilling | 2012-07-19 | 2 | -5/+39 |
| | | | | | | | | | | | | | | | | | | | | | We also add the selected timezone if we can create an object with it. DateTimeZone::listIdentifiers seems to not add all identifiers to the list, because some are only kept for backward compatible reasons. If the user has a deprecated value, we add it here, so it can still be kept. Once the user changed his value, there is no way back to deprecated values. PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Display suggestion when a different value is selected | Joas Schilling | 2012-07-19 | 1 | -2/+2 |
| | | | | | | | | | PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Remove additional marking of selected items | Joas Schilling | 2012-07-18 | 1 | -2/+2 |
| | | | | | | | | | PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Move update helper function to new class | Joas Schilling | 2012-07-18 | 1 | -0/+112 |
| | | | | | | | | | PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Delete old variable which is not used anymore | Joas Schilling | 2012-07-18 | 1 | -3/+0 |
| | | | | | | | | | PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Rename $user->tz back to $user->timezone | Joas Schilling | 2012-07-18 | 5 | -13/+13 |
| | | | | | | | | | PHPBB3-9558 | ||||
| | * | [feature/new-tz-handling] Remove "timezone might be numeric" | Joas Schilling | 2012-07-18 | 2 | -11/+0 |
| | | | | | | | | | | | | | As we updated all of the used values, there really shouldn't be one anymore. PHPBB3-9558 | ||||
| | * | Merge branch 'develop' of git://github.com/phpbb/phpbb3 into ↵ | Joas Schilling | 2012-07-18 | 24 | -175/+1273 |
| | |\ | | | | | | | | | | feature/new-tz-handling | ||||
| | * | | [feature/new-tz-handling] Properly name new timezone selection function | Joas Schilling | 2012-07-17 | 5 | -20/+38 |
| | | | | | | | | | | | | | | | | | | | Marked the old one as deprecated and made it using the new function. PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Use tmp variable for user timezone | Joas Schilling | 2012-07-16 | 1 | -5/+5 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Allow phpbb prefix for user data validation functions | Joas Schilling | 2012-07-16 | 1 | -4/+15 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Require user argument on phpbb_datetime | Joas Schilling | 2012-07-16 | 3 | -8/+7 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix code and doc layout | Joas Schilling | 2012-06-20 | 2 | -4/+8 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix docs in phpbb_user class | Joas Schilling | 2012-06-20 | 1 | -1/+5 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Prefix function with phpbb_ | Joas Schilling | 2012-06-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Trim comment length and remove leading underscores | Joas Schilling | 2012-06-19 | 1 | -4/+5 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix comment and validation in ACP board module | Joas Schilling | 2012-06-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Add a function to get the timestamp of a date | Joas Schilling | 2012-06-18 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | The function uses the given timezone and returns the correct UNIX timestamp of it. PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Update doc blocks for the three timezone functions | Joas Schilling | 2012-06-18 | 1 | -3/+20 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Remove function getTimestamp() as we require php 5.3 | Joas Schilling | 2012-06-18 | 1 | -18/+0 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix documentation in includes/datetime.php | Joas Schilling | 2012-06-18 | 1 | -7/+8 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Inject $user to avoid the usage of global | Joas Schilling | 2012-06-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Do not use underscore as prefix for user | Joas Schilling | 2012-06-18 | 1 | -9/+9 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix timezone option when editing a user in the ACP | Joas Schilling | 2012-06-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix Timezone selection on registration page | Joas Schilling | 2012-06-18 | 1 | -1/+3 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Introduce 2 step timezone selection using javascript | Joas Schilling | 2012-06-18 | 2 | -10/+37 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Remove appearances of board_dst and user_dst | Joas Schilling | 2012-06-18 | 6 | -10/+2 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Replace gmmktime() and mktime() with phpbb_datetime | Joas Schilling | 2012-06-18 | 2 | -6/+8 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix timezone validation in ACP user section | Joas Schilling | 2012-06-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix timezone selection on registration page | Joas Schilling | 2012-06-18 | 1 | -5/+5 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix handling of timezone and dst in dateformat_select | Joas Schilling | 2012-06-18 | 1 | -7/+8 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix displaying of "All times are" string | Joas Schilling | 2012-06-18 | 1 | -1/+9 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | [feature/new-tz-handling] Fix selecting and validating of timezone in UCP | Joas Schilling | 2012-06-18 | 3 | -12/+32 |
| | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | * | | Merge branch 'feature/new-tz-handling' of https://github.com/p/phpbb3 into ↵ | Joas Schilling | 2012-06-04 | 4 | -74/+302 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/new-tz-handling Conflicts: phpBB/includes/functions_profile_fields.php phpBB/includes/session.php phpBB/install/database_update.php | ||||
| | | * | | [feature/new-tz-handling] Sort timezones in selector by offset. | Oleg Pudeyev | 2012-03-14 | 1 | -1/+70 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the list of timezones is very long, and users are likely to know their current offset but not necessarily which city that is nearby is in the timezone database, sort the list of timezones by offset. UTC is specially handled to show up before other GMT+0 timezones. PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Correct a bug preventing multiple formats working. | Chris Smith | 2012-03-14 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Remove case mangling, the identifiers are correct. | Chris Smith | 2012-03-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Update tz_select() to use the PHP timezone database. | Chris Smith | 2012-03-14 | 1 | -7/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tz_select() now uses the PHP timezone database to generate the timezone selection box, it tries to use a translated language string otherwise falls back to a label produced from the timezone identifier. I've done this so new timezones are available immediately without a new language pack. PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Remove code using legacy timezone properties. | Chris Smith | 2012-03-14 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code accessing the legacy user::$timezone and user::$dst properties has been removed and replaced with code utilising user::create_datetime(). Changed by Oleg: in viewtopic, memberlist and index use getTimestamp() + getOffset(). We show members that have birthdays on the specified date. getTimestamp() returns the current date in UTC. We add getOffset() to obtain the current local time in the viewing user's timezone. Then we find members having birthday on this date. Changed by Oleg again: Take leap year status out of the datetime object we have, this seems like it should work as one would expect. PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Removed line that was missed in cc312d8. | Chris Smith | 2012-03-14 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Fix bug from 3.0 formatting future dates. | Chris Smith | 2012-03-14 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Future dates can get formatted as 'less than a minute ago' if they occur in the future on the same minute as the current minute. PHPBB3-9558 PHPBB3-9712 | ||||
| | | * | | [feature/new-tz-handling] Check the is_short flag stored inside the format ↵ | Chris Smith | 2012-03-14 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | array. Reuse the existing check store in the format array to determine if the date time format supports relative formatting. PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Fix undefined variable. | Chris Smith | 2012-03-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Explained name of phpbb_datetime::getTimestamp() | Chris Smith | 2012-03-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | phpbb_datetime::getTimestamp() exists purely to support PHP 5.2 which does not implement the method. PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Added phpbb_datetime::__toString(). | Chris Smith | 2012-03-14 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New phpbb_datetime::__toString() magic method that formats the datetime according to the users default settings. PHPBB3-9558 | ||||
| | | * | | [feature/new-tz-handling] Comment and optimise phpbb_datetime::format(). | Chris Smith | 2012-03-14 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added comments explaining the complex time computations for rendering relative date times. - Replaced some repeated method invokations with variables. PHPBB3-9558 | ||||
