Currently, our old datepicker component consists of over 40 formulas for calculating timestamps, handling leap years, formatting timestamps, accounting for different month lengths, and converting timestamps to days, weeks, months, etc. It works fine and is fully Toddle Native (whichs is awesome), with the original functionality foundation built by @ . Honestly, I think it’s an incredible build, and I wouldn’t have been able to get this far without that foundation.
That said, as I’ve been working on it, I’ve found it a bit challenging to maintain, and I occasionally run into issues when trying to add new functionality because everything is so closely coupled. While the solution works, I’m wondering if there’s a way we could simplify it for easier maintenance going forward. I just feel like handling all this formatting ourselves adds some complexity.