Skip to content

implement parse method #13

@sumit-sinha

Description

@sumit-sinha

DateTimeFormat class should expose a parse method which will parse a string into a date object. A sample can be seen below

const dtString = '12/01/2001 11:10 AM';
const dt = DateTimeFormat.parse('dd/MM/yyyy hh:mm a');

In the above example dt should be the date object with date as 12th January 2001 and 11:10 AM

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions