Reduce repetitive Z on job log timestamps

Release notes

Added informational text that job log timestamps are shown in UTC.

Problem to solve

The Z is repetitive on each line in the job log and can be consolidated elsewhere in the log view.

Proposal

Implementation guide

  1. In ci/job_details/components/job_log_top_bar.vue:
    • add the message to the top bar:
      • split the <div class="gl-hidden sm:gl-block gl-text-truncate" data-testid="showing-last"> into a <div class="gl-hidden sm:gl-block gl-text-truncate"> and a <span data-testid="showing-last"> inside of it
      • move the <!-- truncated log information --> comments so that they wrap the <span>
      • add {{ s__('Job|Timestamps in UTC.') }} inside the <div> after the <span>
    • remove the Z from the string in the extractTime util and any Zs in the explanatory comment above it
  2. Run tooling/bin/gettext_extractor locale/gitlab.pot to update PO files

Intended users

Software developers

Feature Usage Metrics

Does this feature require an audit event?

Edited by Miranda Fluharty