Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
21 lines (18 sloc) 400 Bytes
title version signature
Creation Data
2.11.0
moment().creationData();

After a moment object is created, all of the inputs can be accessed with creationData() method:

moment("2013-01-02", "YYYY-MM-DD", true).creationData() === {
    input: "2013-01-02",
    format: "YYYY-MM-DD",
    locale: Locale obj,
    isUTC: false,
    strict: true
}
You can’t perform that action at this time.