##// END OF EJS Templates
Merge pull request #3720 from jstenar/nbconvert-datefmt...
Min RK -
r11762:8d0a6b70 merge
parent child Browse files
Show More
@@ -218,7 +218,7 b' class Exporter(Configurable):'
218 resources['metadata']['name'] = notebook_name
218 resources['metadata']['name'] = notebook_name
219
219
220 modified_date = datetime.datetime.fromtimestamp(os.path.getmtime(filename))
220 modified_date = datetime.datetime.fromtimestamp(os.path.getmtime(filename))
221 resources['metadata']['modified_date'] = modified_date.strftime("%B %-d, %Y")
221 resources['metadata']['modified_date'] = modified_date.strftime("%B %d, %Y")
222
222
223 with io.open(filename) as f:
223 with io.open(filename) as f:
224 return self.from_notebook_node(nbformat.read(f, 'json'), resources=resources,**kw)
224 return self.from_notebook_node(nbformat.read(f, 'json'), resources=resources,**kw)
General Comments 0
You need to be logged in to leave comments. Login now