Commit Graph

29 Commits (3f3d75f6189ff36babb99dc75a7e83c08e677ded)

Author SHA1 Message Date
cwallen 4cd8263197 Better foreach style 2015-07-29 16:42:09 +00:00
cwallen 240961711e Timezone answer formatting and refactoring 2015-07-29 02:46:36 +00:00
cwallen 32fe30fa68 Convert HTML to template 2015-07-20 00:59:31 +00:00
cwallen 8aa0d47817 Change our to accessor function 2015-07-19 18:02:35 +00:00
cwallen d6cca812df attribution 2015-07-19 05:02:35 +00:00
cwallen a4ab113476 Fix MSK timezone and consolidate timezone lists. 2015-07-19 04:43:36 +00:00
samph 78fccd0467 TimeZoneConverter: Added support for times with no colon, eg. 1600 GMT 2015-02-06 21:12:32 +00:00
jagtalon 981538c7c1 Attribution updates!
The string in index 1 should be the name of the developer. This allows us to group them together, i.e., we need a way to group the attribution by people.
2015-01-07 18:24:47 +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
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 914e6bc0cf TimezoneConverter: Explicitly returning output 2014-10-15 20:19:31 +01:00
Rob Emery d410d4a57e TimezoneConverter: Permitting lowercase timezones 2014-10-15 20:13:20 +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
Matt Miller 8e22daee13 TimeZoneConverter: move to named captures.
This makes it easier to decipher what matches what and how the defaults
come to be set, in my opinion.
2014-09-12 10:12:00 -04: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
Brian Duggan 77606a810f prevent error for invalid output timezone 2014-02-08 12:44:17 -05:00
Dylan Lloyd 8c38618625 fixed unitialized warning when timezone !found
fixed a warning that occurred when the timezone name parsed from
$input_timezone was not found in the %timezones hash
2013-01-16 03:56:56 -05:00
Michael Smith 2751322ff8 Five more goodies with metadata... 2012-11-06 14:56:31 -07:00
GlitchMr 6beefd9c15 Add special casing of noon and midnight. 2012-09-30 19:35:11 +02:00
GlitchMr 833a670d62 PST is -8, not +8. 2012-09-29 21:19:57 +02:00
GlitchMr 19be8a2c6b Use AM/PM style when input uses it. 2012-09-28 19:05:56 +02:00
GlitchMr 4bfcb5fa14 Don't allow silly timezones like GMT+31421858231489. 2012-09-28 10:30:28 +02:00
GlitchMr c8ef5a9529 Add "TO" as alias for "INTO". 2012-09-28 10:17:20 +02:00
GlitchMr 747be55dbb Remove Time::Piece that I'm not using. 2012-09-28 08:26:45 +02:00
GlitchMr c9bc950391 Timezone converter 2012-09-28 08:24:30 +02:00