Format dates using browser's locale