Dates: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<strong>Date picker vs date input.</strong> Kendo UI has these two components. Use the date picker for filters. Use the date input for fast data entry e.g. date fields in editable tables. | <strong>Date picker vs date input.</strong> Kendo UI has these two components. Use the date picker for filters. Use the date input for fast data entry e.g. date fields in editable tables. | ||
<strong>Return to [[Programming Guide]]</strong> | <strong>Return to [[Programming Guide]]</strong> |
Latest revision as of 20:48, 3 October 2023
Use the current locale's date format. Import the following
import { dateFormats } from '@/common-date'. The dateFormats is an object that contains the same date format for each library such as Kendo UI (kendoUi property) and Moment.js (moment property). For example, for moment you do moment(startingDate).format(this.dateFormats.moment).
Date picker vs date input. Kendo UI has these two components. Use the date picker for filters. Use the date input for fast data entry e.g. date fields in editable tables.
Return to Programming Guide