Fix date sorting in patron-related XUL interfaces
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 2 May 2012 18:01:00 +0000 (14:01 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 2 May 2012 22:31:28 +0000 (18:31 -0400)
commitc4bfb05af96266a580974c375a4b78045bf1064f
tree16b4d3febc5be17a0e71d5a3d748f6d38de70f11
parent3501dd8f265bce21c1952d0ea46b439f4c9386c6
Fix date sorting in patron-related XUL interfaces

Null time stamps are now converted to dates in the Middle Paleolithic
era so they always sort as the lowest date.

Seriously, this is the minimum possible date you can express with a JavaScript
date object.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/util/date.js
Open-ILS/xul/staff_client/server/patron/util.js