mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
AAE-35694 Update section-start-form with Sections in Row (#10947)
This commit is contained in:
Binary file not shown.
@@ -53,6 +53,7 @@ describe('DateFnsUtils', () => {
|
|||||||
|
|
||||||
it('should parse datetime', () => {
|
it('should parse datetime', () => {
|
||||||
const parsed = DateFnsUtils.parseDate('09-02-9999 09:10 AM', 'dd-MM-yyyy hh:mm aa');
|
const parsed = DateFnsUtils.parseDate('09-02-9999 09:10 AM', 'dd-MM-yyyy hh:mm aa');
|
||||||
|
|
||||||
expect(isValid(parsed));
|
expect(isValid(parsed));
|
||||||
expect(parsed.toISOString()).toBe('9999-02-09T09:10:00.000Z');
|
expect(parsed.toISOString()).toBe('9999-02-09T09:10:00.000Z');
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user