Echo JS 0.11.0

<~>

vkarpov15 comments

vkarpov15 437 days ago. link 1 point
Yeah in general I prefer to use raw dates where possible. One place where I still haven't figured out how to use Intl though is parsing date strings in a particular timezone.

For example, how do I get the unix timestamp of midnight on July 1, 2023 in America/Denver time? Assuming my system isn't on America/Denver time of course. I don't think Intl has a good way of doing that.
vkarpov15 1144 days ago. link 1 point
I disagree, I prefer `slice()` :) for one thing, substr is considered a "legacy function." Also I mix up substr() and substring() so much that I just use `slice()` to avoid confusion.