[Passwords] Improve Time Formatting for Password Check
This change improves the formatting of elapsed time since a compromised password was found. Time deltas smaller than a minute are now shown as "Just now", while deltas exceeding 30 and 365 days are formatted with months and years, respectively. Bug: 1047726 Change-Id: Ic08bf80ac300724a64fe304e032936ee0968b6b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2095298Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#748273}
Showing
Please register or sign in to comment