Mailkov
e553113b8f
add test
2016-02-12 16:32:49 +00:00
Mailkov
c08f739cac
correct tests on UnixTime.t
2016-01-04 17:10:27 +00:00
Oliver Dunk
f84a899e95
Fix formatting
2015-09-18 16:09:23 +01:00
Oliver Dunk
29e8139219
Add Epoch Trigger Test
...
Fixes issue with PR #1573 (adds test)
2015-09-18 16:08:35 +01:00
Steven Glick
0cdf7341ed
Add tests for new triggers
2014-11-24 13:35:27 -05:00
Matt Miller
85db003108
UnixTime: expand triggering.
...
- Allow for triggers at either end.
- Allow for negative epochs.
- Replace regex trigger with words trigger.
2014-09-25 11:51:57 -04:00
Matt Miller
f0410ac6f4
UnixTime: try yet another style.
...
HTML version unabashedly stolen from SubnetCalc.
Thanks to @mintsoft for the suggestion.
2014-09-21 09:37:19 -04:00
Matt Miller
ede57fceda
UnixTime: apply HTML table and styling.
...
An attempt to get a nicer look.
2014-09-12 08:41:48 -04:00
Matt Miller
4d62fd1731
UnixTime: switch to regex trigger.
...
This seemed like the easiest way to not trigger on an empty "epoch" or
"timestamp" but to work with all the other combos.
2014-09-12 08:33:52 -04:00
Matt Miller
31e99b9370
UnixTime: remove `time` trigger.
...
This eliminates the conflict with the preferred W|A answer.
Addresses #607 .
2014-09-12 08:33:52 -04:00
Matt Miller
a71a6132a9
UnixTime: update output to include the epoch.
...
This is in service to some submarine commits which will be arriving soon
to deal with Goodies templating. This makes UnixTime look "more like it
will" in addition to supplying what we determined to be the supplied
epoch.
This is most useful in the "empty" epoch case where we will tell them
the current epoch which may be of interest.
2014-09-12 08:33:52 -04:00
jagtalon
80ee10d13a
UnixTime: Disable the no argument feature.
...
Disabling the no argument feature since:
- It triggers with just "time"
- The time shown doesn't follow the person's timezone (which is preferable over UTC)
2014-08-25 19:01:46 +00:00
Matt Miller
184fed9fc5
UnixTime: subsume Epoch.pm functions.
...
There's no need to have a different Goodie to handle the "no remainder"
query case, so we'll just combine both into this single Goodie.
Also makes the goodie slightly more resilient against bad inputs by
`eval`ing all the way up through the DateTime creation and string
gathering.
2014-08-22 11:37:06 -04:00
Rob Emery
c233d0ed48
UnixTime: Adding new triggers
2014-05-11 16:50:36 +01:00
Rob Emery
1d8905d4a0
Revert "UnixTime: Adding extra triggers"
...
This reverts commit e7a9fd4421
.
2014-05-11 16:45:25 +01:00
Rob Emery
e7a9fd4421
UnixTime: Adding extra triggers
2014-05-11 16:38:48 +01:00
Eric Johnson
9c29b27338
Added tests for example queries which are not currently tested.
...
Conflicts:
t/TimezoneConverter.t
2014-02-10 21:36:14 +00:00
Michael Smith
8c01b35797
update the tests
2013-11-13 18:55:08 -07:00
Dylan Lloyd
6e495a8afe
test all unixtime triggers
2013-05-13 13:01:55 -04:00
Dylan Lloyd
c9ef973474
UnixTime now returns Coordinated Universal Time
...
Updated tests. Added time zone as hour offset from UTC to avoid
confusion between acronyms.
2012-05-14 00:00:19 -04:00
Iain Nash
fc5780132e
Adding on the perfix 'Unix Time Conversion: ' to the result
2012-04-24 00:52:16 -04:00
Iain Nash
13c3946986
Adding ddg UnixTime goodie
2012-04-23 23:05:49 -04:00