Add leading zero to hour & minute on <title /> when needed #314
Recently @gaokun requested/added a date in the <title /> tag which is a great addition to the tool.
If there are better approaches, I'm open for them.
That's even better and much cleaner, thanks for the suggestion.
I quickly checked the MDN docs and they state that
Is it safe to say this will work in both cases (server & client) since src/viewer.js is 'server-side' code thus not affecting IE?
Ok, thanks for the quick response @th0r.
I've pushed another commit where I used template literals to convert the number to a String.
I can change this to the following if preferred:
Hi @valscion, I've been busy past week(s) but I will get this fixed tonight.
If you've got time to fix this now, feel free to open up a new PR with the fix. I'll happily close this one then. If this is not the case, I will fix this tonight.