commit | d502ad61fb45711939d7213a458ece813eb0bd86 | [log] [tgz] |
---|---|---|
author | Regan Hsu <[email protected]> | Fri Jan 15 15:48:10 2021 |
committer | Chromium LUCI CQ <[email protected]> | Fri Jan 15 15:48:10 2021 |
tree | efe1fde9f0c757bd1d93ffbca64de027290f8b2a | |
parent | 417d9e70536bbc4fc2aca5647451f3f2165996e2 [diff] |
[CrOS Settings] Add support for showing Month year in UTC. The EOL dates listed at https://support.google.com/chrome/a/answer/6220366?hl=en do not provide a timezone. However, they refer to UTC instead of a local time zone. (End of life occurs at a single point in time). Since users are NOT told that the time zone is in UTC, they will likely confuse the end of life date to be in their local timezone. If the end of life is on the first day of the month, the end of life will show as one month sooner than the actual end of life. This CL adds an extra parameter to base::TimeFormatMonthAndYear() to allow for time formatting in UTC instead of the local time. Fixed: 1126296 Change-Id: Iede26508a9a30e776225095bd6267bd2c2fe64eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2399826 Commit-Queue: Regan Hsu <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Kyle Horimoto <[email protected]> Cr-Commit-Position: refs/heads/master@{#844088}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.