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 % |
|
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