Thanks for your feedback Chris. I made this sample app for a couple of reasons.
- A few people specifically asked for guidance working with a Time/Date API so this is the beginning of a more in-depth tutorial on the topic.
- Until a clock component is added this serves as a simple work around. All the code is open source for anyone to remix and include in their own app.
- In lots of cases it’s more secure to use a time server that users can’t manipulate. I’m thinking specifically about time-limited trials where changing the local time will artificially extend the trial period.
While you are correct that a clock
component would be great to have, and you are well aware that one is being built, this isn’t an either/or situation. There’s no need to be dismissive of any project simply because it doesn’t meet your narrow definition of “useful”. We’re a varied and diverse community here so what works for one person or interests some users won’t necessarily apply universally.
I look forward to seeing what innovations/improvements you can make to this project.