define([ "dojo/_base/declare", "dojo/_base/lang" ], function(declare, lang) { //various monkey patches to workaround dojo bugs/limitations //iso date stamp regex not defined correctly in dojo.date.stamp var stamp = lang.getObject("dojo.date.stamp"); if (!stamp){ stamp = {}; lang.setObject("dojo.date.stamp", stamp); } stamp._isoRegExp = /^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(\.\d+)?)?((?:[+-](\d{2}):?(\d{2}))|Z)?)?$/; });