format codes are not reset when a new value is given
Created originally on Bitbucket by ericgazoni (Eric Gazoni)
{{{
from openpyxl.workbook import Workbook wb = Workbook() ws = wb.create_sheet() c = ws.cell('B3') import datetime c.value = datetime.datetime.now() print c.value datetime.datetime(2010, 9, 11, 8, 59, 52) print c.style.number_format.format_code 'yyyy-mm-dd' c.value = 'toto' print c.style.number_format.format_code 'yyyy-mm-dd' print c.value
}}}