Commit Graph

25 Commits (240961711e98072160e6030607ccb760ab4d4697)

Author SHA1 Message Date
Rob Emery 56c5ea4a5e Goodies: Enabling `use strict` on all goodies 2015-02-22 20:09:29 +00:00
W25 8c2953ec94 Removed ago and from triggers 2015-01-16 03:00:37 +00:00
W25 504b7c3a94 Merged with master (uppercase operation) 2015-01-16 01:54:04 +00:00
Chris Wilson ead0fa3cf5 Update Case for Coin, Conversions, DateMath, DaysBetween, EmToPx, EmailValidator 2015-01-09 18:59:26 +11:00
W25 db5749cf1e DateMath: a large regex with named captures 2014-12-27 09:44:57 +00:00
W25 dada468e2d Added more tests 2014-12-25 16:23:31 +00:00
W25 d561cec4ba Removed today/yesterday trigger, added 'in 5 days' 2014-12-25 07:33:53 +00:00
W25 bc6a53ee6b Added ago/from triggers 2014-12-25 07:05:12 +00:00
Matt Miller 6e0e031ebc DateMath: add structured answer. 2014-11-15 21:32:59 +02:00
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
Matt Miller 5faf30c129 DateMath: properly recognize and handle weeks.
Fixes #628.
2014-09-10 08:27:54 -04:00
Matt Miller 73ccf7282e DatesRole: complete deprecation cycle.
- Deprecate 'parse_all_strings_to_date()' in favor of
  'parse_all_datestrings_to_date()' for consistency.
- Remove the deprecated functions.
- Update all calls.
2014-08-31 19:21:55 -04:00
Matt Miller 3503faccca DateMath: expand query-space with datestring_regex(). 2014-08-31 16:36:40 -04:00
Rob Emery 73b808d063 Merge branch 'master' into mintsoft/date_role 2014-08-20 20:44:20 +01:00
Matt Miller 5481cf4ebc Fix minor code layout issues.
Reducing scroll spam from dzil by:

- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.

Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00
Matt Miller 8095a15ab2 DateMath: remove extraneous import.
Don't need Data::Dumper now that we've got everything working.
2014-08-18 14:00:56 -04:00
Matt Miller b4565b12b6 DatesRole: introduce date_output_string.
Takes a DateTime or a string we can turn into one and gives a
standardized output string for it.  I'm not convinced this is entirely
the right way to do this.. or that it's named exactly correctly, but
it's probably better than specifying formats everywhere.
2014-08-11 22:05:56 -04:00
Rob Emery 6b4b09399b DatesRole & DateMath: switching to use DateRole 2014-08-11 22:58:28 +01:00
Dylan Lloyd 049b54fe19 s/everyday_goodies/everyday/ 2012-11-07 00:59:54 -05:00
Dylan Lloyd 3a5cb91705 added metadata to DateMath.pm 2012-11-06 16:01:09 -05:00
Torsten Raudssus 9d72a38dcd Cleanup, adding multiword trigger, checking for html encoded requirements (non there hehe) 2012-05-24 04:05:08 +02:00
Michael Smith 279d4e111f remove some duplicated tests 2012-05-20 10:25:06 -06:00
Michael Smith 1a75b5fb84 enhancements and bugfixes to DateMath 2012-05-20 10:15:56 -06:00
CJ 51c49f609e lean on Date::Calc to figure out text dates 2012-05-09 19:23:15 -07:00
CJ 3656531632 add/subtract days/weeks/months/years to/from a date 2012-05-08 19:01:16 -07:00