Fix inconsistent date formatting in Google Artifact Regsitry details page
Context
@pedroms
raised in discussion(internal):
the timestamps for the GAR container images show a different relative timezone between GDK (GMT) and GitLab.com (UTC). See the difference in these images (GDK first, then GitLab.com). I’m trying to understand how we are generating those timestamps. Also, on GitLab.com, in the issues list, I’m seeing GMT+1 (my specific TZ)
Solution
Use localeDateFormat.asDateTimeFull.format
instead of formatDate