File browser refresh button appears to update contents but not the "Last Modified" column
wasn't sure where to post it. also in here: https://github.com/jupyter/notebook/issues/8075 Description:
I might be misunderstanding something, but the refresh button in the JupyterLab file browser seems to behave in a slightly odd way.
When I click the refresh button, the file contents correctly update to the latest state — new files appear, everything is current. However, the "Last Modified" column appears to stay frozen at the old relative time (e.g. "a few seconds ago").
The only way I've found to get the correct relative time is to refresh the whole browser page itself, rather than using JupyterLab's refresh button.
To be clear, this could be intended behavior — but my expectation is that the refresh button refreshes everything displayed about each file in the list, including its relative timestamp. That seems like the natural meaning of what "refresh" is supposed to do
Steps to reproduce:
- Open the file browser in JupyterLab
- Create a new file or save an existing one
- Click the refresh button → the file appears, but it still shows the old relative time
- Refresh the entire browser page (F5) → the timestamps suddenly display correctly
What I expected (please correct me if I'm wrong): I'd expect the Last Modified times to be refreshed along with the regular refresh, even if no new items appear. Since the server already re-sends item data on refresh, it seems the client would have the up-to-date information available at render time. Happy to hear if I'm missing something.
Source: jupyterlab/jupyterlab