UNPKG

devextreme

Version:

JavaScript/TypeScript Component Suite for Responsive Web Development

22 lines (20 loc) • 558 B
/** * DevExtreme (esm/__internal/viz/translators/datetime_translator.js) * Version: 26.1.6 * Build date: Fri Oct 16 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ import { dateUtils } from "../../core/utils/m_date"; function parse(value) { return null !== value ? new Date(value) : value } export default { fromValue: parse, toValue: parse, _add: dateUtils.addDateInterval, convert: dateUtils.dateToMilliseconds };