Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add support for week/month to Locale::formatDateTime()
https://bugs.webkit.org/show_bug.cgi?id=101878 Reviewed by Kent Tamura. Source/WebCore: Adding support for week/month to Locale::formatDateTime() in preparation for datalist support for <input type=week/month>. Added Chromium tests LocaleMacTest.formatWeek and LocaleMacTest.formatMonth. * platform/text/PlatformLocale.cpp: (WebCore::DateTimeStringBuilder::visitField): (WebCore::Locale::formatDateTime): Support week and month types. Source/WebKit/chromium: * tests/LocaleMacTest.cpp: (LocaleMacTest::formatWeek): Takes ISO string and returns localized string. (LocaleMacTest): (LocaleMacTest::formatMonth): Ditto. (TEST_F): Canonical link: https://commits.webkit.org/119985@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@134216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
101 additions
and
6 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
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