Dates: Difference between revisions

From Bitnami MediaWiki
Jump to navigation Jump to search
(Created page with "<strong>Use the current locale's date format.<strong> 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). <strong>Date picker vs date input.</strong> Kendo UI has these two components. Use the date picker for filters. Use th...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<strong>Use the current locale's date format.<strong> Import the following
<strong>Use the current locale's date format.</strong> 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).
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).


<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