www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 5f4bb7356467bfa1f986eb0a7fed609783d1f6ce
parent 7f25572e49c2f8a46d9fd94f1deffe9ba437cd51
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  7 Mar 2013 18:35:54 -0500

Always return order property from strToDate()

Broken in merge 995091d0

Diffstat:
Mchrome/content/zotero/xpcom/date.js | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/date.js b/chrome/content/zotero/xpcom/date.js @@ -228,14 +228,15 @@ Zotero.Date = new function(){ var _dayRe = null; function strToDate(string) { - var date = {}; + var date = { + order: '' + }; // skip empty things if(!string) { return date; } - date.order = ''; var parts = []; // Parse 'yesterday'/'today'/'tomorrow'