minor bugfixes
better localized date & weekday handling, with custom polyfill for toLocaleDateString