We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a76e7 commit 16df949Copy full SHA for 16df949
src/index.ts
@@ -14,7 +14,8 @@ import { checkBrowserNotificationSettings } from './settings';
14
function extractExecutionMetadata(metadata: IObservableJSON): [Date, Date] {
15
const executionMetadata = Object.assign({}, metadata.get('execution') as any);
16
const cellStartTime = new Date(
17
- executionMetadata['shell.execute_reply.started'] || executionMetadata['iopub.execute_input']
+ executionMetadata['shell.execute_reply.started'] ||
18
+ executionMetadata['iopub.execute_input']
19
);
20
const cellEndTime = new Date(executionMetadata['shell.execute_reply']);
21
return [cellStartTime, cellEndTime];
0 commit comments