Announcement Notification: Use base::Time::FromUTCString().
Currently a server time string is parsed by base::Time::FromString in announcement notification system. When not specify the time zone, then Chrome uses local time zone. We should use base::Time::FromUTCString that assumes UTC time when there is no time zone in the server time string. Bug: 1048437 Change-Id: Iba84f557fdcea19a5635f00c2f7ebc3c41279d7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037013Reviewed-by:David Trainor <dtrainor@chromium.org> Reviewed-by:
Tommy Nyquist <nyquist@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#740402}
Showing
Please register or sign in to comment