diff options
author | Josip Sokcevic <sokcevic@google.com> | 2023-04-27 10:45:04 -0700 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-27 20:19:34 +0000 |
commit | 7ef5b465cd5a3156f0dc2fcc914c2a92b2bf226a (patch) | |
tree | 20d5593e62c8416bfd71e845962571e26305961b /progress.py | |
parent | e7e20f4686e1be6a3914df0a5ec60c7d32ba8775 (diff) | |
download | git-repo-7ef5b465cd5a3156f0dc2fcc914c2a92b2bf226a.tar.gz |
[SyncAnalysisState] Preserve synctime µs
By default, datetime.isoformat() uses different format depending on
microseconds - if is equal to 0, microseconds are omitted, but otherwise
not.
Setting timespec = 'microseconds' ensures the format is the same
regardless of current time.
Change-Id: Icb1be31eb681247c7e46923cdeabb8f5469c20f0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/371694
Tested-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Joanna Wang <jojwang@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'progress.py')
0 files changed, 0 insertions, 0 deletions