| Index: src/js/datetime-format-to-parts.js
|
| diff --git a/src/js/intl-extra.js b/src/js/datetime-format-to-parts.js
|
| similarity index 55%
|
| copy from src/js/intl-extra.js
|
| copy to src/js/datetime-format-to-parts.js
|
| index a4d22568b9ff14413c604199756d92190c9ca630..d940b3d35c47e78b093e383a8114a2b865a2bfbf 100644
|
| --- a/src/js/intl-extra.js
|
| +++ b/src/js/datetime-format-to-parts.js
|
| @@ -3,7 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| (function(global, utils) {
|
| -
|
| "use strict";
|
|
|
| %CheckIsBootstrapping();
|
| @@ -11,12 +10,10 @@
|
| var GlobalIntl = global.Intl;
|
|
|
| var AddBoundMethod = utils.ImportNow("AddBoundMethod");
|
| -var IntlParseDate = utils.ImportNow("IntlParseDate");
|
| -var IntlParseNumber = utils.ImportNow("IntlParseNumber");
|
| +var formatDateToParts = utils.ImportNow("formatDateToParts");
|
|
|
| -AddBoundMethod(GlobalIntl.DateTimeFormat, 'v8Parse', IntlParseDate, 1,
|
| +AddBoundMethod(GlobalIntl.DateTimeFormat, 'formatToParts', formatDateToParts, 0,
|
| 'dateformat');
|
| -AddBoundMethod(GlobalIntl.NumberFormat, 'v8Parse', IntlParseNumber, 1,
|
| - 'numberformat');
|
| +
|
|
|
| })
|
|
|