PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
moment
/
src
/
lib
/
create
import { normalizeObjectUnits } from '../units/aliases'; import { configFromArray } from './from-array'; import map from '../utils/map'; export function configFromObject(config) { if (config._d) { return; } var i = normalizeObjectUnits(config._i); config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { return obj && parseInt(obj, 10); }); configFromArray(config); }
[-] valid.js
[edit]
[-] from-string-and-array.js
[edit]
[-] from-array.js
[edit]
[+]
..
[-] from-string-and-format.js
[edit]
[-] utc.js
[edit]
[-] check-overflow.js
[edit]
[-] from-anything.js
[edit]
[-] from-string.js
[edit]
[-] parsing-flags.js
[edit]
[-] from-object.js
[edit]
[-] local.js
[edit]
[-] date-from-array.js
[edit]