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.
plist-member
1 parent 78225f1 commit 010f5c5Copy full SHA for 010f5c5
jupyter-messages.el
@@ -645,10 +645,10 @@ return the value of KEY in MSG."
645
The returned time has the same form as returned by
646
`current-time'."
647
(let* ((header (jupyter-message-header msg))
648
- (date (plist-member header :data)))
649
- (when (stringp (car date))
650
- (setcar date (jupyter-decode-time (car date))))
651
- (car date)))
+ (date (plist-member header :date)))
+ (when (stringp (cadr date))
+ (setcar (cdr date) (jupyter-decode-time (cadr date))))
+ (cadr date)))
652
653
(defsubst jupyter-message-get (msg key)
654
"Get the value in MSG's `jupyter-message-content' that corresponds to KEY."
0 commit comments