Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
TimeagoStatic
Interface TimeagoStatic
Index
Call signatures
Properties
settings
Methods
datetime
inWords
isTime
parse
Call signatures
(
timestamp
:
Date
)
:
string
Parameters
timestamp:
Date
Returns
string
(
timestamp
:
number
)
:
string
Parameters
timestamp:
number
Returns
string
(
timestamp
:
string
)
:
string
Parameters
timestamp:
string
Returns
string
(
timestamp
:
Element
)
:
string
Parameters
timestamp:
Element
Returns
string
(
timestamp
:
JQuery
)
:
string
Parameters
timestamp:
JQuery
Returns
string
Properties
public
settings
:
TimeagoSetings
Methods
public
datetime
(
element
:
Element
)
:
Date
Parameters
element:
Element
Returns
Date
public
datetime
(
element
:
JQuery
)
:
Date
Parameters
element:
JQuery
Returns
Date
public
inWords
(
distanceMillis
:
Date
)
:
string
Parameters
distanceMillis:
Date
Returns
string
public
inWords
(
distanceMillis
:
number
)
:
string
Parameters
distanceMillis:
number
Returns
string
public
isTime
(
element
:
Element
)
:
boolean
Parameters
element:
Element
Returns
boolean
public
isTime
(
element
:
JQuery
)
:
boolean
Parameters
element:
JQuery
Returns
boolean
public
parse
(
iso8601
:
string
)
:
Date
Parameters
iso8601:
string
Returns
Date
Globals
jquery