factorized date formatting for browser cells