mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5857] fixed unit test for adding seconds
This commit is contained in:
@@ -57,8 +57,8 @@ describe('Date Format Translations', () => {
|
||||
});
|
||||
|
||||
it('should add seconds to a date time value', () => {
|
||||
const inputDateTime = '2023-09-02T10:00:00Z';
|
||||
const expectedUpdatedValue = '2023-09-02T10:00:00.00Z';
|
||||
const inputDateTime = '2023-09-02T10:00:000Z';
|
||||
const expectedUpdatedValue = '2023-09-02T10:00:00.000Z';
|
||||
|
||||
const result = DateFnsUtils.addSeconds(inputDateTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user