Closed stanwest closed 1 year ago
Both the documentation and description file for ExecuteTime give 'YYYY-MM-DD HH:mm:ss' as the default format for displaying absolute time:
'YYYY-MM-DD HH:mm:ss'
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/92bb755152c870caf9cac1acebb168f71f9dae6c/src/jupyter_contrib_nbextensions/nbextensions/execute_time/readme.md?plain=1#L76-L81
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/92bb755152c870caf9cac1acebb168f71f9dae6c/src/jupyter_contrib_nbextensions/nbextensions/execute_time/ExecuteTime.yaml#L30-L33
However, the actual default in the code places the time before the date:
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/92bb755152c870caf9cac1acebb168f71f9dae6c/src/jupyter_contrib_nbextensions/nbextensions/execute_time/ExecuteTime.js#L39
To use 'YYYY-MM-DD HH:mm:ss', one must explicitly set that format in a configuration file. Trying to set it within the configurator web page has no effect, because the page detects no change from the displayed value.
Both the documentation and description file for ExecuteTime give
'YYYY-MM-DD HH:mm:ss'
as the default format for displaying absolute time:https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/92bb755152c870caf9cac1acebb168f71f9dae6c/src/jupyter_contrib_nbextensions/nbextensions/execute_time/readme.md?plain=1#L76-L81
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/92bb755152c870caf9cac1acebb168f71f9dae6c/src/jupyter_contrib_nbextensions/nbextensions/execute_time/ExecuteTime.yaml#L30-L33
However, the actual default in the code places the time before the date:
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/blob/92bb755152c870caf9cac1acebb168f71f9dae6c/src/jupyter_contrib_nbextensions/nbextensions/execute_time/ExecuteTime.js#L39
To use
'YYYY-MM-DD HH:mm:ss'
, one must explicitly set that format in a configuration file. Trying to set it within the configurator web page has no effect, because the page detects no change from the displayed value.