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
AttachmentsEditor.ts
AttachmentsWidget.css
AttachmentsWidget.ts
BaseEditor.js
CheckBox.css
CheckBox.js
CheckBoxEditor.js
ChoiceEditor.js
ChoiceListCell.ts (core) Barely working reference lists in frontend 2021-07-23 18:41:44 +02:00
ChoiceListEditor.ts
ChoiceListEntry.ts
ChoiceTextBox.ts
ChoiceToken.ts
DateEditor.js (core) Fix a few issues with parsing of dates in DateEditor. 2021-08-20 14:54:41 -04:00
DateTextBox.js
DateTimeEditor.css
DateTimeEditor.js
DateTimeTextBox.js (core) Replace time zone selector with one based on the newer autocomplete. 2021-07-23 08:02:05 -04:00
DiffBox.ts
EditorButtons.ts
EditorPlacement.ts
EditorTooltip.ts
ErrorDom.ts
FieldBuilder.css
FieldBuilder.ts (core) Polish and enable Reference List widget 2021-08-12 11:51:21 -07:00
FieldEditor.ts
FormulaEditor.ts
HyperLinkEditor.ts
HyperLinkTextBox.ts (core) Allow creating custom document tours with a special table 2021-07-23 20:23:30 +02:00
NewAbstractWidget.ts
NewBaseEditor.ts
NTextBox.ts
NTextEditor.ts
NumericTextBox.ts
Reference.css
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
Spinner.ts
Switch.css
Switch.js
TextBox.css
TextEditor.css
TextEditor.js
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