Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Adds Intl native ECMAScript support for Closure DateTimeFormat.
Browse files Browse the repository at this point in the history
RELNOTES: Add Intl native support in DateTimeFormat.

PiperOrigin-RevId: 400828431
Change-Id: I6e0679b14ff4d7496738b04915f7c10bf50b9367
  • Loading branch information
Closure Team authored and copybara-github committed Oct 4, 2021
1 parent f2c85d1 commit ed3f217
Show file tree
Hide file tree
Showing 6 changed files with 1,749 additions and 709 deletions.
11 changes: 11 additions & 0 deletions closure/goog/i18n/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,15 @@ closure_js_library(
name = "datetimeformat",
srcs = ["datetimeformat.js"],
deps = [
":datetimepatterns",
":datetimesymbols",
":localefeature",
":nativelocaledigits",
":timezone",
"//closure/goog/asserts",
"//closure/goog/date",
"//closure/goog/date:utcdatetime",
"//closure/goog/labs/useragent:browser",
"//closure/goog/string",
],
)
Expand Down Expand Up @@ -187,13 +192,19 @@ closure_js_library(
],
)

closure_js_library(
name = "nativelocaledigits",
srcs = ["nativelocaledigits.js"],
)

closure_js_library(
name = "numberformat",
srcs = ["numberformat.js"],
deps = [
":compactnumberformatsymbols",
":currency",
":localefeature",
":nativelocaledigits",
":numberformatsymbols",
"//closure/goog/asserts",
"//closure/goog/math",
Expand Down
Loading

0 comments on commit ed3f217

Please sign in to comment.