commit 04aa0581be23aa46e8ea8be49c15617eccab4fcf
parent 9e9f8db1df7f9adffb5a5b22c52a79dccb2d0340
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 6 Jul 2009 11:42:03 +0000
Date portion of SQL datetimes entered into date fields would be lost on edit
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -1844,6 +1844,9 @@ Zotero.Date = new function(){
* e.g. '2006-11-03 November 3rd, 2006'
*/
function isMultipart(str){
+ if (isSQLDateTime(str)) {
+ return false;
+ }
return _multipartRE.test(str);
}