#10460 Show dates in UTC instead local timezone
Merged 2 years ago by humaton. Opened 2 years ago by sergiomb.
sergiomb/releng main  into  main

@@ -753,7 +753,7 @@ 

          orphans = sorted(orphan_packages())

          eprint('done')

  

-     text = "Report started at %s\n\n" % datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")

+     text = "Report started at %s\n\n" % datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S UTC")

      eprint('Getting builds from koji...', end=' ')

      koji_tag = RELEASES[args.release]["tag"]

      allpkgs = sorted(list(set(list(orphans) + failed)))
@@ -779,7 +779,7 @@ 

      text += "\n"

      text += info

      text += FOOTER

-     text += "\nReport finished at %s" % datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")

+     text += "\nReport finished at %s" % datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S UTC")

      print(text)

  

      if args.json is not None:

Signed-off-by: Sérgio M. Basto sergio@serjux.com

fixes a6e5312

@churchyard , please apply and use it , thank you

I don't have merge rights for this repo, but I'll gladly start using this.

rebased onto a72cff3eb9721e156c7589ae0bd83cfc0570cc8d

2 years ago

rebased onto b7e5708b3cfa3ebc4f1edd3cc9444199c4307952

2 years ago

Hi @humaton , I just fixed this PR (removing the new commits) , if you merge it, i appreciate it

rebased onto f5499b6

2 years ago

Pull-Request has been merged by humaton

2 years ago
Metadata