whoops major flaw in date-locstor logic