[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/js/dist/ -> date.js (summary)

(no description)

File Size: 1493 lines (965 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 52 functions

  __webpack_require__()
  getDefault()
  getModuleExports()
  setSettings()
  getSettings()
  setupWPTimezone()
  format()
  date()
  gmdate()
  dateI18n()
  packBase60Fraction()
  packBase60()
  packUntils()
  packAbbrsAndOffsets()
  packPopulation()
  validatePackData()
  pack()
  arraysAreEqual()
  zonesAreEqual()
  findAndCreateLinks()
  createLinks()
  findStartAndEndIndex()
  filterYears()
  filterLinkPack()
  charCodeToInt()
  unpackBase60()
  arrayToInt()
  intToUntil()
  mapIndices()
  unpack()
  Zone()
  OffsetAt()
  ZoneScore()
  findChange()
  userOffsets()
  sortZoneScores()
  addToGuesses()
  guessesForUserOffsets()
  rebuildGuess()
  guess()
  normalizeName()
  addZone()
  getZone()
  getNames()
  addLink()
  loadData()
  zoneExists()
  needsOffset()
  logError()
  tz()
  abbrWrap()
  resetZoneWrap()

Functions
Functions that are not part of a class:

__webpack_require__(moduleId)   X-Ref
No description

getDefault()   X-Ref
No description

getModuleExports()   X-Ref
No description

setSettings(dateSettings)   X-Ref
Adds a locale to moment, using the format supplied by `wp_localize_script()`.

param: {Object} dateSettings Settings, including locale data.

getSettings()   X-Ref
Returns the currently defined date settings.

return: {Object} Settings, including locale data.

setupWPTimezone()   X-Ref
No description

format(dateFormat)   X-Ref
Formats a date. Does not alter the date's timezone.

return: {string} Formatted date.
param: {string}                    dateFormat PHP-style formatting string.
param: {(Date|string|moment|null)} dateValue  Date object or string,

date(dateFormat)   X-Ref
Formats a date (like `date()` in PHP), in the site's timezone.

return: {string} Formatted date.
param: {string}                    dateFormat PHP-style formatting string.
param: {(Date|string|moment|null)} dateValue  Date object or string,

gmdate(dateFormat)   X-Ref
Formats a date (like `date()` in PHP), in the UTC timezone.

return: {string} Formatted date.
param: {string}                    dateFormat PHP-style formatting string.
param: {(Date|string|moment|null)} dateValue  Date object or string,

dateI18n(dateFormat)   X-Ref
Formats a date (like `dateI18n()` in PHP).

return: {string} Formatted date.
param: {string}                    dateFormat PHP-style formatting string.
param: {(Date|string|moment|null)} dateValue  Date object or string,
param: {boolean}                   gmt        True for GMT/UTC, false for

packBase60Fraction(fraction, precision)   X-Ref
No description

packBase60(number, precision)   X-Ref
No description

packUntils(untils)   X-Ref
No description

packAbbrsAndOffsets(source)   X-Ref
No description

packPopulation(number)   X-Ref
No description

validatePackData(source)   X-Ref
No description

pack(source)   X-Ref
No description

arraysAreEqual(a, b)   X-Ref
No description

zonesAreEqual(a, b)   X-Ref
No description

findAndCreateLinks(input, output, links, groupLeaders)   X-Ref
No description

createLinks(source, groupLeaders)   X-Ref
No description

findStartAndEndIndex(untils, start, end)   X-Ref
No description

filterYears(source, start, end)   X-Ref
No description

filterLinkPack(input, start, end, groupLeaders)   X-Ref
No description

charCodeToInt(charCode)   X-Ref
No description

unpackBase60(string)   X-Ref
No description

arrayToInt(array)   X-Ref
No description

intToUntil(array, length)   X-Ref
No description

mapIndices(source, indices)   X-Ref
No description

unpack(string)   X-Ref
No description

Zone(packedString)   X-Ref
No description

OffsetAt(at)   X-Ref
No description

ZoneScore(zone)   X-Ref
No description

findChange(low, high)   X-Ref
No description

userOffsets()   X-Ref
No description

sortZoneScores(a, b)   X-Ref
No description

addToGuesses(name, offsets)   X-Ref
No description

guessesForUserOffsets(offsets)   X-Ref
No description

rebuildGuess()   X-Ref
No description

guess(ignoreCache)   X-Ref
No description

normalizeName(name)   X-Ref
No description

addZone(packed)   X-Ref
No description

getZone(name, caller)   X-Ref
No description

getNames()   X-Ref
No description

addLink(aliases)   X-Ref
No description

loadData(data)   X-Ref
No description

zoneExists(name)   X-Ref
No description

needsOffset(m)   X-Ref
No description

logError(message)   X-Ref
No description

tz(input)   X-Ref
No description

abbrWrap(old)   X-Ref
No description

resetZoneWrap(old)   X-Ref
No description



Generated: Mon Jan 7 01:00:05 2019 Cross-referenced by PHPXref 0.7.1