Open benjamonnguyen opened 1 year ago
Hello, @benjamonnguyen,
I think the code is in decent enough shape now. I created a timestamp parser that handles almost any time format I could think of. Take a look at the tests: https://github.com/ivan-lednev/obsidian-day-planner/blob/main/src/util/timestamp.test.ts
Not sure if this covers what you wanted to implement. You're welcome to further extend this functionality.
@ivan-lednev I'll spend some time using the new feature. Thank for the speedy implementation!
Currently times must be provided as "HH:mm".
As suggested here, we can implement an option in the settings tab to configure the valid moment.js time format.
This would also be reflected on the Gantt chart.