timespec
Parse time-like phrases into a javascript Date.
Inspired by the unix program [at] 1 which includes a 'timespec' for parsing time-like phrases into dates. This extends the original scope to include the past and various other changes. It's similar, but not exactly the same.
usage
timespec = ; var is_now = timespec;var is_now_last_week = timespec; var is_noon_today = timespec;var is_noon_yesterday = timespec; var is_12_weeks_ago = timespec;var is_12_weeks_from_now = timespec; var is_2_hour_from_now = timespec;