| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* develop: (441 commits)
[feature/new-tz-handling] Don't use global user but make it a parameter
[feature/new-tz-handling] Fix size of suggestion button in chrome
[feature/new-tz-handling] Fall back to UTC, if the timezone is invalid
[feature/new-tz-handling] Add previous selected value to validation if valid
[feature/new-tz-handling] Display suggestion when a different value is selected
[ticket/10998] Add border-radius to forum rules block - prosilver
[feature/new-tz-handling] Remove additional marking of selected items
[feature/new-tz-handling] Move update helper function to new class
[feature/new-tz-handling] Fix unit test
[feature/new-tz-handling] Delete old variable which is not used anymore
[feature/new-tz-handling] Rename $user->tz back to $user->timezone
[feature/pagination-as-list] New parameter for name of start var
[feature/pagination-as-list] Updates for nils comments
[feature/pagination-as-list] Rename and deprecate functions
[feature/pagination-as-list] Various fixes and improvements
[ticket/10968] Render pagination within the template
[feature/new-tz-handling] Remove "timezone might be numeric"
[feature/new-tz-handling] Add function to update the timezone
[feature/new-tz-handling] Correctly update user and board timezones on update
[ticket/10996] Use correct DBMS name in Travis config for PostgreSQL
...
Conflicts:
phpBB/common.php
phpBB/composer.json
phpBB/composer.lock
tests/cron/task_provider_test.php
|
| | |\
| | |
| | | |
Feature/new tz handling
|
| | | |
| | |
| | |
| | | |
PHPBB3-9558
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This should avoid problems, when the board files are updated but database isn't.
PHPBB3-9558
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | | |
PHPBB3-9558
|
| | | |
| | |
| | |
| | | |
PHPBB3-9558
|
| | | |
| | |
| | |
| | | |
PHPBB3-9558
|
| | | |
| | |
| | |
| | | |
PHPBB3-9558
|
| | | |
| | |
| | |
| | | |
PHPBB3-9558
|
| | | |
| | |
| | |
| | |
| | |
| | | |
As we updated all of the used values, there really shouldn't be one anymore.
PHPBB3-9558
|
| | | |\
| | | |
| | | |
| | | | |
feature/new-tz-handling
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Marked the old one as deprecated and made it using the new function.
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The function uses the given timezone and returns the correct UNIX timestamp of it.
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | | |
| | | |
| | | |
| | | | |
PHPBB3-9558
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
feature/new-tz-handling
Conflicts:
phpBB/includes/functions_profile_fields.php
phpBB/includes/session.php
phpBB/install/database_update.php
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
array.
Reuse the existing check store in the format array to determine if the date time
format supports relative formatting.
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | | |
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
phpbb_datetime::getTimestamp() exists purely to support PHP 5.2 which
does not implement the method.
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
New phpbb_datetime::__toString() magic method that formats the datetime
according to the users default settings.
PHPBB3-9558
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Added comments explaining the complex time computations for rendering
relative date times.
- Replaced some repeated method invokations with variables.
PHPBB3-9558
|