fix issue#25: termninal mode: > date is off by one month

use "toDateString" javascript function instead
Merge pull request #54 from jordimassaguerpla/fix#25

fix issue#25: termninal mode: > date is off by one month