Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 399 Bytes
title version signature
Creation Data
2.10.7
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
}