Relative timestamp on Safari fix

This fixes an issue where Safari parses datestamps differently to Chrome.