mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Community Events: Update timezone-related @since tags to 5.5.2.
r49145 and r49146 were originally planned for 5.6 when they were committed, but are now planned for 5.5.2. See #51130. git-svn-id: https://develop.svn.wordpress.org/trunk@49152 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -623,7 +623,7 @@ jQuery( function( $ ) {
|
||||
* These can't be stored in the database, because they're dependent on
|
||||
* the user's current time zone, locale, etc.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {Array} rawEvents The events that should have dynamic fields added to them.
|
||||
* @param {string} timeFormat A time format acceptable by `wp.date.dateI18n()`.
|
||||
@@ -658,7 +658,7 @@ jQuery( function( $ ) {
|
||||
/**
|
||||
* Returns the user's local/browser time zone, in a form suitable for `wp.date.i18n()`.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param startTimestamp
|
||||
*
|
||||
@@ -693,7 +693,7 @@ jQuery( function( $ ) {
|
||||
*
|
||||
* See https://stackoverflow.com/questions/21102435/why-does-javascript-date-gettimezoneoffset-consider-0500-as-a-positive-off.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {number} startTimestamp
|
||||
*
|
||||
@@ -706,7 +706,7 @@ jQuery( function( $ ) {
|
||||
/**
|
||||
* Get a short time zone name, like `PST`.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {number} startTimestamp
|
||||
*
|
||||
@@ -748,7 +748,7 @@ jQuery( function( $ ) {
|
||||
/**
|
||||
* Format a start/end date in the user's local time zone and locale.
|
||||
*
|
||||
* @since 5.6.0
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {int} startDate The Unix timestamp in milliseconds when the the event starts.
|
||||
* @param {int} endDate The Unix timestamp in milliseconds when the the event ends.
|
||||
|
||||
Reference in New Issue
Block a user