Sha256: 8c58c038847997a4b40cfe8416fa9ad08b39279d0f8351fb6d1f0aff2805f1f8

Contents?: true

Size: 365 Bytes

Versions: 19

Compression:

Stored size: 365 Bytes

Contents

import { normalizeObjectUnits } from '../units/aliases';
import { configFromArray } from './from-array';

export function configFromObject(config) {
    if (config._d) {
        return;
    }

    var i = normalizeObjectUnits(config._i);
    config._a = [i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond];

    configFromArray(config);
}

Version data entries

19 entries across 19 versions & 4 rubygems

Version Path
active_record_survey_api-0.0.19 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.18 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.17 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.14 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.12 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.11 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.7 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
active_record_survey_api-0.0.6 spec/test_app/vendor/assets/bower_components/moment/src/lib/create/from-object.js
date_picker-0.0.8 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.7 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
sedge_cms-0.0.1 vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.6 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.5 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.4 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.3 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.2 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
date_picker-0.0.1 test/dummy/vendor/assets/components/moment/src/lib/create/from-object.js
puppet-herald-0.8.1 lib/puppet-herald/public/bower_components/moment/src/lib/create/from-object.js
puppet-herald-0.8.0 lib/puppet-herald/public/bower_components/moment/src/lib/create/from-object.js