Commits

Sven Hendriks  committed 8cc6faa

Fixed failing test_using_a_builtin_format_does_not_add_a_custom_format; The test was failing due to the default format for datetime. Switched to m/d/yy h:mm as default for datetime, which is predefined in OOXML with id 22

  • Participants
  • Parent commits e5018fc

Comments (0)

Files changed (1)

File xlsxcessive/style.py

         self.default_date_format = self.new_format()
         self.default_date_format.number_format('mm-dd-yy')
         self.default_datetime_format = self.new_format()
-        self.default_datetime_format.number_format('mm-dd-yy h:mm:ss')
+        self.default_datetime_format.number_format('m/d/yy h:mm')
         self.default_time_format = self.new_format()
         self.default_time_format.number_format('h:mm:ss')