From b06e09a4d3e25087ca0495e624c8662ddb69224e Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 3 Jan 2014 18:34:27 +0000 Subject: [PATCH] Fix typo in default date format string for view widget Fixes #320 --- core/modules/widgets/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/widgets/view.js b/core/modules/widgets/view.js index 2c9148d33..733533b26 100755 --- a/core/modules/widgets/view.js +++ b/core/modules/widgets/view.js @@ -148,7 +148,7 @@ ViewWidget.prototype.getValueAsDoubleUrlEncoded = function() { }; ViewWidget.prototype.getValueAsDate = function(format) { - format = format || "YYYY MM DD 0hh:0ss"; + format = format || "YYYY MM DD 0hh:0mm"; var value = $tw.utils.parseDate(this.getValue()); if(value && $tw.utils.isDate(value) && value.toString() !== "Invalid Date") { return $tw.utils.formatDateString(value,format);