Fix date sorting in patron-related XUL interfaces collab/senator/xul_patron_interfaces_date_sort
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 18:01:00 +0000 (14:01 -0400)
commit9868cf8eb7ebcfcc8e6897022d7d25e414cbeb93
tree6e3ae19d8e534692d821679cb5b84868ad677d2a
parent430c235ea5f46150bbfc15fe3a0e08792f61ad25
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>
Open-ILS/xul/staff_client/chrome/content/util/date.js
Open-ILS/xul/staff_client/server/patron/util.js