[Commits] r2561 - sandbox/camptocamp/geobretagne/lib/GeoExt/widgets
commits at geoext.org
commits at geoext.org
Thu Jan 13 16:57:34 CET 2011
Author: fvanderbiest
Date: 2011-01-13 16:57:34 +0100 (Thu, 13 Jan 2011)
New Revision: 2561
Modified:
sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/form.js
Log:
camptocamp/geobretagne sandbox: applied patch attached to #379
Modified: sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/form.js
===================================================================
--- sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/form.js 2011-01-13 10:24:11 UTC (rev 2560)
+++ sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/form.js 2011-01-13 15:57:34 UTC (rev 2561)
@@ -157,7 +157,8 @@
field = {
xtype: "datefield",
fieldLabel: label,
- name: name
+ name: name,
+ format: 'c'
};
}
@@ -179,6 +180,6 @@
"^(boolean)$", "i"
),
"date": new RegExp(
- "^(dateTime)$", "i"
+ "^(date|dateTime)$", "i"
)
};
More information about the Commits
mailing list