Skip to content
Snippets Groups Projects

Fix timestamps in overview page

Merged Thomas Kluyver requested to merge overview-fix-timestamps into master
1 unresolved thread

Description

We noticed that the timestamps for correction runs were oddly truncated in the overview page. This parses and re-formats the timestamps rather than just cutting off X characters.

How Has This Been Tested?

Tested on max-exfl017:

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.

Reviewers

@schmidtp @ahmedk

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
294 297 pdfs.sort(key=os.path.getmtime, reverse=True)
295 298 pdfs = {p.split("/")[-1]: p for p in pdfs}
296 299
300 timestamp = parse_datetime(timestamp).strftime('%Y-%m-%d %H:%M')
  • Thanks, LGTM

  • Thanks Karim!

  • Thomas Kluyver mentioned in commit eede4ac6

    mentioned in commit eede4ac6

  • Thomas Kluyver changed milestone to %3.8.0

    changed milestone to %3.8.0

  • Philipp Schmidt changed milestone to %3.7.3

    changed milestone to %3.7.3

  • Please register or sign in to reply
    Loading