Go to file
Felix Arntz d448c448ca Date/Time: Add support for gmt_offset to date_i18n().
Prior to this change, `date_i18n()` only supported the `timezone_string` option, causing incorrect timezones to appear in formatted dates on sites that still rely on the `gmt_offset` option.

Props Rarst.
Fixes #34835.


git-svn-id: https://develop.svn.wordpress.org/trunk@43387 602fd350-edb4-49c9-b593-d223f7449a82
2018-07-03 15:58:58 +00:00
src Date/Time: Add support for gmt_offset to date_i18n(). 2018-07-03 15:58:58 +00:00
tests Date/Time: Add support for gmt_offset to date_i18n(). 2018-07-03 15:58:58 +00:00
tools/i18n
.editorconfig
.gitignore Build/Tools: Update PHPCS ruleset for WP Core and related Composer setup. 2018-06-15 15:56:58 +00:00
.jshintrc
.npmrc Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
.nvmrc Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
.travis.yml
composer.json Build/Tools: Update PHPCS ruleset for WP Core and related Composer setup. 2018-06-15 15:56:58 +00:00
composer.lock Build/Tools: Update PHPCS ruleset for WP Core and related Composer setup. 2018-06-15 15:56:58 +00:00
Gruntfile.js Build/Test Tools: Avoid running full PHPUnit test suite for every PHP file change. 2018-06-08 04:40:18 +00:00
jsdoc.conf.json Build Tools: Fix JSDoc configuration include paths. 2018-06-14 12:45:06 +00:00
package-lock.json Emoji: Update Twemoji to version 11.0. 2018-06-20 04:20:32 +00:00
package.json Emoji: Update Twemoji to version 11.0. 2018-06-20 04:20:32 +00:00
phpcs.xml.dist Build/Tools: Update PHPCS ruleset for WP Core and related Composer setup. 2018-06-15 15:56:58 +00:00
phpunit.xml.dist
webpack.config.dev.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
webpack.config.prod.js Once upon a midnight dreary, while I coded, weak and weary, 2018-05-23 10:04:22 +00:00
wp-cli.yml Tools: Update wp-cli.yml to point to the build directory. 2018-05-25 00:14:14 +00:00
wp-config-sample.php
wp-tests-config-sample.php Build/Test Tools: Roses are red, this fixes stuff. 2018-05-23 17:54:44 +00:00