Commit Graph

22 Commits (34286dbecdb339569d8e80c568dba31bfe9e3bc7)

Author SHA1 Message Date
rsilvola f0f10e2428 Fixes #2697: 12:00 now parsed as Noon if am not specified 2016-03-04 14:07:39 +00:00
SvetlanaZem d687cca672 TimezoneConverter: treat users local timezone as default instead of UTC 2015-11-07 15:20:08 +00:00
cwallen 240961711e Timezone answer formatting and refactoring 2015-07-29 02:46:36 +00:00
cwallen af7af28c9a Fix tests 2015-07-20 04:56:50 +00:00
samph 78fccd0467 TimeZoneConverter: Added support for times with no colon, eg. 1600 GMT 2015-02-06 21:12:32 +00:00
Rob Emery 2b0536ec29 TimezoneConverter: Removing most of the regexes from the tests to keep it explicit 2014-11-02 11:37:29 +00:00
Rob Emery 4b699f9f63 TimezoneConverter: Adding tests around DST 2014-11-02 11:31:30 +00:00
Matt Miller e71e35c9cc TimezoneConverter: support "local time" variations. 2014-10-29 12:54:17 +02:00
Matt Miller b9083d30fe TimezoneConverter: fix noon misinterpretation.
Not cool that I managed to enshrine it in the tests first. :(
2014-10-29 12:54:17 +02:00
Matt Miller 7f32cd7842 TimezoneConverter: change to AM/PM
The newer IAs I am seeing with this information do not use the periods.

Also, clean up the test file a bit with sections and definitive "don't
care" settings.
2014-10-29 12:54:17 +02:00
Matt Miller bc3566cf61 TimezoneConverter: add support for my time/my timezone. 2014-10-29 12:53:05 +02:00
Matt Miller da70710f7d EOL: remove trailing whitespace. 2014-10-28 20:36:15 +02:00
Rob Emery 042e15bb53 TimezoneConverter: Adding primary span around both times 2014-10-15 20:36:49 +01:00
Rob Emery 85859082ea TimezoneConverter: Adding HTML output and some tests to ensure the text and html output is the same 2014-10-15 20:26:57 +01:00
Rob Emery 4c2ffb3f7d TimezoneConverter: Adding failing test for bug #684 2014-10-15 20:11:50 +01:00
Matt Miller 3f3dbd5df8 TimezoneConverter: add support for "from" timezone.
We've always been able to convert from a given timezone, but they
weren't allowed to explicitly say so.

The example query exposed a bug in the 'PM' handling for the 12
o'clock hour which is also resolved herein.

Fixes #631.
2014-09-12 11:24:37 -04: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
Brian Duggan b708b065a9 added "12 in binary" test to Binary.pm and TimeZoneConverter.pm 2014-02-09 11:06:00 -05:00
GlitchMr 6beefd9c15 Add special casing of noon and midnight. 2012-09-30 19:35:11 +02:00
GlitchMr 19be8a2c6b Use AM/PM style when input uses it. 2012-09-28 19:05:56 +02:00
GlitchMr c8ef5a9529 Add "TO" as alias for "INTO". 2012-09-28 10:17:20 +02:00
GlitchMr c9bc950391 Timezone converter 2012-09-28 08:24:30 +02:00