gristlabs_grist-core/app/client/widgets
Dmitry S e361a9fd94 (core) Fix a few issues with parsing of dates in DateEditor.
Summary:
- With a format like "DD-MM-YYYY" or "DD MMM YYYY", allow parsing dates
  with two digit year or numeric month (like "16-8-21").
- Interpret two-digit years in the same way for moment parsing and for
  bootstrap-datepicker.
- For partial inputs (like "8/16"), when a format is present, assume that
  provided parts cover the date, then month, then year (even for a format that
  starts with year).

Test Plan: Expanded a unittest

Reviewers: alexmojaki

Reviewed By: alexmojaki

Subscribers: alexmojaki

Differential Revision: https://phab.getgrist.com/D2985
2021-08-20 14:54:41 -04:00
..
AbstractWidget.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
AttachmentsEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
AttachmentsWidget.css (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
AttachmentsWidget.ts (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
BaseEditor.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
CheckBox.css (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
CheckBox.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
CheckBoxEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02:00
ChoiceEditor.js (core) Fixing bug on a fresh Choice and ChoiceList column 2021-07-21 15:44:10 +02:00
ChoiceListCell.ts (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
ChoiceListEditor.ts (core) Fixing bug on a fresh Choice and ChoiceList column 2021-07-21 15:44:10 +02:00
ChoiceListEntry.ts (core) Enhance autocomplete and choice colors 2021-07-16 09:10:51 -07:00
ChoiceTextBox.ts (core) Enhance autocomplete and choice colors 2021-07-16 09:10:51 -07:00
ChoiceToken.ts (core) Enhance autocomplete and choice colors 2021-07-16 09:10:51 -07:00
DateEditor.js (core) Fix a few issues with parsing of dates in DateEditor. 2021-08-20 14:54:41 -04:00
DateTextBox.js (core) Formatting date time editor 2021-07-13 09:22:39 +02:00
DateTimeEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02:00
DateTimeTextBox.js (core) Replace time zone selector with one based on the newer autocomplete. 2021-07-23 08:02:05 -04:00
DiffBox.ts (core) Configure more comprehensive eslint rules for Typescript 2021-04-26 18:54:55 -04:00
EditorButtons.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorPlacement.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorTooltip.ts (core) Add a button and a tooltip to Access Rules page item, in View-As mode. 2021-03-08 16:08:21 -05:00
ErrorDom.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.css (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
FieldEditor.ts (core) Fix reporting of errors when saving cells by clicking away, and deduplicate memos. 2021-06-23 08:50:42 -04:00
FormulaEditor.ts (core) Add 'value' to trigger formula autocomplete 2021-07-12 15:07:16 -07:00
HyperLinkEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HyperLinkTextBox.ts (core) Allow creating custom document tours with a special table 2021-07-23 20:23:30 +02:00
NewAbstractWidget.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NewBaseEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
NTextBox.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NTextEditor.ts (core) Readonly editors 2021-06-17 19:12:16 +02:00
NumericTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
Reference.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
ReferenceEditor.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
ReferenceList.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
ReferenceListEditor.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
Spinner.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Spinner.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
Switch.css (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
Switch.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
TextBox.css (core) Readonly editors 2021-06-17 19:12:16 +02:00
TextEditor.css (core) Readonly editors 2021-06-17 19:12:16 +02:00
TextEditor.js (core) Readonly editors 2021-06-17 19:12:16 +02:00
TZAutocomplete.ts (core) Replace time zone selector with one based on the newer autocomplete. 2021-07-23 08:02:05 -04:00
UserType.js (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
UserTypeImpl.js (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00