(function(){"use strict";function e(e,t){this.MobileWidget(e,t);this._create()}e.prototype={setValue:function(e){if(Modernizr.inputtypes.date){e=u8m.tools.convertToIsoDate(e)}var t=$(this.element).find("input");t.val(e||"")},_create:function(){var e=$(this.element).find("input");var t=e.data("value");this.setValue(t)}};e.makeClass({name:"DateField",deriveFrom:u8.Mobile.Widgets.MobileWidget})})();