Optional
inp: MomentInputOptional
strict: booleanGenerated using TypeDoc
Generated using TypeDoc
Optional
inp: DurationInputArg1Optional
unit: DurationConstructorGenerated using TypeDoc
Optional
inp: DurationInputArg1Optional
unit: DurationConstructorOptional
flags: MomentParsingFlagsOptGenerated using TypeDoc
Optional
flags: MomentParsingFlagsOptGenerated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Optional
language: stringin 2.8.0
-Optional
language: stringOptional
definition: Localein 2.8.0
-Generated using TypeDoc
Optional
language: stringin 2.8.0
+Optional
language: stringOptional
definition: Localein 2.8.0
+Optional
language: stringOptional
language: string[]Optional
language: stringOptional
definition: null | LocaleSpecificationGenerated using TypeDoc
Optional
language: stringOptional
language: string[]Optional
language: stringOptional
definition: null | LocaleSpecificationGenerated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanOptional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanGenerated using TypeDoc
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanOptional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanGenerated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Optional
inp: MomentInputOptional
strict: booleanStrict parsing disables the deprecated fallback to the native Date constructor when +
Optional
inp: MomentInputOptional
strict: booleanStrict parsing disables the deprecated fallback to the native Date constructor when parsing a string.
-Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. +
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.
-Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. +
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.
-Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
+
Customized moment.js for Nextcloud automatic locale detection.
@@ -6,4 +6,4 @@import moment from '@nextcloud/moment'
moment(1578511019).format('L')
// -> returns date formatted in format according to user locale
-Generated using TypeDoc
Optional
lastOptional
lastOptional
nextOptional
nextOptional
sameOptional
sameGenerated using TypeDoc
Optional
lastOptional
lastOptional
nextOptional
nextOptional
sameOptional
sameOptional
inp: DurationInputArg1Optional
unit: DurationConstructorOptional
argWithSuffix: booleanOptional
argThresholds: argThresholdOptsOptional
argThresholds: argThresholdOptssince version 2.8.0
-since version 2.8.0
-Optional
inp: DurationInputArg1Optional
unit: DurationConstructorGenerated using TypeDoc
Optional
inp: DurationInputArg1Optional
unit: DurationConstructorOptional
argWithSuffix: booleanOptional
argThresholds: argThresholdOptsOptional
argThresholds: argThresholdOptssince version 2.8.0
+since version 2.8.0
+Optional
inp: DurationInputArg1Optional
unit: DurationConstructorOptional
DOptional
MOptional
QOptional
dOptional
dateOptional
datesOptional
dayOptional
daysOptional
hOptional
hourOptional
hoursOptional
mOptional
millisecondOptional
millisecondsOptional
minuteOptional
minutesOptional
monthOptional
monthsOptional
msOptional
quarterOptional
quartersOptional
sOptional
secondOptional
secondsOptional
wOptional
weekOptional
weeksOptional
yOptional
yearOptional
yearsGenerated using TypeDoc
Optional
DOptional
MOptional
QOptional
dOptional
dateOptional
datesOptional
dayOptional
daysOptional
hOptional
hourOptional
hoursOptional
mOptional
millisecondOptional
millisecondsOptional
minuteOptional
minutesOptional
monthOptional
monthsOptional
msOptional
quarterOptional
quartersOptional
sOptional
secondOptional
secondsOptional
wOptional
weekOptional
weeksOptional
yOptional
yearOptional
yearsGenerated using TypeDoc
Optional
format: stringOptional
format: stringOptional
format: stringGenerated using TypeDoc
Optional
format: stringOptional
format: stringOptional
format: stringOptional
calendarOptional
invalidOptional
isPMOptional
longOptional
meridiemOptional
meridiemOptional
monthsOptional
monthsOptional
ordinalOptional
ordinalOptional
relativeOptional
weekOptional
weekdaysOptional
weekdaysOptional
weekdaysGenerated using TypeDoc
Optional
calendarOptional
invalidOptional
isPMOptional
longOptional
meridiemOptional
meridiemOptional
monthsOptional
monthsOptional
ordinalOptional
ordinalOptional
relativeOptional
weekOptional
weekdaysOptional
weekdaysOptional
weekdaysOptional
lOptional
llOptional
lllOptional
llllOptional
ltOptional
ltsGenerated using TypeDoc
Optional
lOptional
llOptional
lllOptional
llllOptional
ltOptional
ltsThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
-Optional
amount: DurationInputArg1Optional
unit: DurationConstructorreverse syntax
-Optional
time: MomentInputOptional
formats: CalendarSpecOptional
unitOfTime: DiffOptional
precise: booleanOptional
suffix: booleanOptional
other: MomentInputOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
granularity: StartOfOptional
inclusivity: "()" | "[)" | "(]" | "[]"Optional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfas of 2.8.0, use locale
-as of 2.8.0, use locale
-Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanas of 2.7.0, use moment.min/max
-Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanas of 2.7.0, use moment.min/max
-Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanas of 2.7.0, use moment.min/max
-Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanas of 2.7.0, use moment.min/max
-Optional
amount: DurationInputArg1Optional
unit: DurationConstructorreverse syntax
-Optional
suffix: booleanGenerated using TypeDoc
The initial value of Object.prototype.constructor is the standard built-in Object constructor.
+Optional
amount: DurationInputArg1Optional
unit: DurationConstructorreverse syntax
+Optional
time: MomentInputOptional
formats: CalendarSpecOptional
unitOfTime: DiffOptional
precise: booleanOptional
suffix: booleanOptional
other: MomentInputOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
granularity: StartOfOptional
inclusivity: "()" | "[)" | "(]" | "[]"Optional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfOptional
inp: MomentInputOptional
granularity: StartOfas of 2.8.0, use locale
+as of 2.8.0, use locale
+Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanas of 2.7.0, use moment.min/max
+Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanas of 2.7.0, use moment.min/max
+Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanas of 2.7.0, use moment.min/max
+Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanas of 2.7.0, use moment.min/max
+Optional
amount: DurationInputArg1Optional
unit: DurationConstructorreverse syntax
+Optional
suffix: booleanGenerated using TypeDoc
Optional
formatOptional
strictGenerated using TypeDoc
Optional
formatOptional
strictOptional
DOptional
MOptional
dOptional
dateOptional
datesOptional
dayOptional
daysOptional
hOptional
hourOptional
hoursOptional
mOptional
millisecondOptional
millisecondsOptional
minuteOptional
minutesOptional
monthOptional
monthsOptional
msOptional
sOptional
secondOptional
secondsOptional
yOptional
yearOptional
yearsGenerated using TypeDoc
Optional
DOptional
MOptional
dOptional
dateOptional
datesOptional
dayOptional
daysOptional
hOptional
hourOptional
hoursOptional
mOptional
millisecondOptional
millisecondsOptional
minuteOptional
minutesOptional
monthOptional
monthsOptional
msOptional
sOptional
secondOptional
secondsOptional
yOptional
yearOptional
yearsOptional
lOptional
llOptional
lllOptional
llllOptional
ltOptional
ltsGenerated using TypeDoc
Optional
lOptional
llOptional
lllOptional
llllOptional
ltOptional
ltsGenerated using TypeDoc
Generated using TypeDoc
Optional
charsOptional
emptyOptional
invalidOptional
invalidOptional
isoOptional
meridiemOptional
nullOptional
overflowOptional
parsedOptional
unusedOptional
unusedOptional
userGenerated using TypeDoc
Optional
charsOptional
emptyOptional
invalidOptional
invalidOptional
isoOptional
meridiemOptional
nullOptional
overflowOptional
parsedOptional
unusedOptional
unusedOptional
userGenerated using TypeDoc
Optional
DOptional
DDDOptional
EOptional
GGOptional
MOptional
QOptional
WOptional
dOptional
dateOptional
datesOptional
dayOptional
dayOptional
dayOptional
daysOptional
eOptional
ggOptional
hOptional
hourOptional
hoursOptional
isoOptional
isoOptional
isoOptional
isoOptional
isoOptional
isoOptional
mOptional
millisecondOptional
millisecondsOptional
minuteOptional
minutesOptional
monthOptional
monthsOptional
msOptional
quarterOptional
quartersOptional
sOptional
secondOptional
secondsOptional
wOptional
weekOptional
weekOptional
weekOptional
weekdayOptional
weekdaysOptional
weeksOptional
yOptional
yearOptional
yearsGenerated using TypeDoc
Optional
DOptional
DDDOptional
EOptional
GGOptional
MOptional
QOptional
WOptional
dOptional
dateOptional
datesOptional
dayOptional
dayOptional
dayOptional
daysOptional
eOptional
ggOptional
hOptional
hourOptional
hoursOptional
isoOptional
isoOptional
isoOptional
isoOptional
isoOptional
isoOptional
mOptional
millisecondOptional
millisecondsOptional
minuteOptional
minutesOptional
monthOptional
monthsOptional
msOptional
quarterOptional
quartersOptional
sOptional
secondOptional
secondsOptional
wOptional
weekOptional
weekOptional
weekOptional
weekdayOptional
weekdaysOptional
weeksOptional
yOptional
yearOptional
yearsOptional
MOptional
MMOptional
dOptional
ddOptional
futureOptional
hOptional
hhOptional
mOptional
mmOptional
pastOptional
sOptional
ssOptional
wOptional
wwOptional
yOptional
yyGenerated using TypeDoc
Optional
MOptional
MMOptional
dOptional
ddOptional
futureOptional
hOptional
hhOptional
mOptional
mmOptional
pastOptional
sOptional
ssOptional
wOptional
wwOptional
yOptional
yyOptional
isGenerated using TypeDoc
Optional
isGenerated using TypeDoc
Optional
MOptional
dOptional
hOptional
mOptional
sOptional
ssOptional
wGenerated using TypeDoc
Optional
MOptional
dOptional
hOptional
mOptional
sOptional
ssOptional
wGenerated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Optional
m: MomentInputOptional
now: MomentGenerated using TypeDoc
Optional
m: MomentInputOptional
now: MomentGenerated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Optional
format: stringGenerated using TypeDoc
Optional
format: stringGenerated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Constant used to enable explicit ISO_8601 format parsing.
-Generated using TypeDoc
Constant used to enable explicit ISO_8601 format parsing.
+Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
Strict parsing disables the deprecated fallback to the native Date constructor when +
- Preparing search index...
- The search index is not available
@nextcloud/momentFunction default
Parameters
Optional
inp: MomentInputOptional
strict: booleanStrict parsing disables the deprecated fallback to the native Date constructor when parsing a string.
-Returns Moment
Parameters
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. +
Returns Moment
Parameters
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.
-Returns Moment
Parameters
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. +
Returns Moment
Parameters
Optional
inp: MomentInputOptional
format: MomentFormatSpecificationOptional
language: stringOptional
strict: booleanStrict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.
-Returns Moment
Settings
Member Visibility
Theme
Generated using TypeDoc