-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
DateRewriter::RewriteAd()
(AD to Era)
This patch updates the AD to Era conversion (`RewriteAd()`) to be more consistent with the Era to AD conversion (`RewriteEra()`) behavior. In particular: 1. It checks if the `key` is the `kNenKey`, instead of if the `candidate(0).value` is the `kNenValue`. 2. It accepts both when the first segment ends with the `kNenKey` and when the next segment starts with the `kNenKey`. PiperOrigin-RevId: 647248914
- Loading branch information
1 parent
9fca486
commit 6ceada3
Showing
2 changed files
with
33 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters