Index: src/extensions/i18n/header.js |
diff --git a/test/intl/date-format/utils.js b/src/extensions/i18n/header.js |
similarity index 82% |
copy from test/intl/date-format/utils.js |
copy to src/extensions/i18n/header.js |
index 535de15e9a2b4298cfc13d080b9fe620588f5b8e..1c0a2d8874b5aa982ca2be2fb39f2ead1c4a9622 100644 |
--- a/test/intl/date-format/utils.js |
+++ b/src/extensions/i18n/header.js |
@@ -24,13 +24,18 @@ |
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+// limitations under the License. |
-// Utility methods for date testing. |
+// ECMAScript 402 API implementation is broken into separate files for |
+// each service. The build system combines them together into one |
+// Intl namespace. |
/** |
- * Returns date with timezone info forced into PDT. |
+ * Intl object is a single object that has some named properties, |
+ * all of which are constructors. |
*/ |
-function usePDT(dateString) { |
- var removedTZ = dateString.replace(/(\+|-)\d{4}/, '-0007'); |
- return removedTZ.replace(/\(.*?\)/, '(PDT)'); |
-} |
+var Intl = (function() { |
+ |
+'use strict'; |
+ |
+var Intl = {}; |