backwards compatible date parsing for older versions of SailfishOS. clear web cache at startup to prevent WebKit from choking on an incompatible cache