fixes #153 - ls now works with dates on x and y variables as date.