Fix date format for content script