------art_3295_7380057.1121620602439
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Okay, it's three in the morning and I'm not quite on my toes. Here it
is again with a few more things implemented.
-- 
- nornagon

------art_3295_7380057.1121620602439
Content-Type: application/octet-stream; name="timeformat.rb"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="timeformat.rb"

IyBUaW1lLmZvcm1hdAoKY2xhc3MgVGltZQoJY2xhc3MgRm9ybWF0CgkJV2Vla2RheXMgPSAldyhN
b25kYXkgVHVlc2RheSBXZWRuZXNkYXkgVGh1cnNkYXkgRnJpZGF5IFNhdHVyZGF5IFN1bmRheSkK
CQlNb250aHMgPSAldyhKYW51YXJ5IEZlYnJ1YXJ5IE1hcmNoIEFwcmlsIE1heSBKdW5lIEp1bHkg
QXVndXN0IFNlcHRlbWJlcgoJCQkJCU9jdG9iZXIgTm92ZW1iZXIgRGVjZW1iZXIpCgkJTW9udGhE
YXlzID0gWzMxLCAyOCwgMzEsIDMwLCAzMSwgMzAsIDMxLCAzMSwgMzAsIDMxLCAzMCwgMzFdCgkJ
IyAnYW0nIG9yICdwbScKCQlkZWYgc2VsZi5hIHRpbWUKCQkJdGltZS5ob3VyID4gMTEgPyAncG0n
IDogJ2FtJwoJCWVuZAoKCQkjICdBTScgb3IgJ1BNJwoJCWRlZiBzZWxmLkEgdGltZQoJCQl0aW1l
LmhvdXIgPiAxMSA/ICdQTScgOiAnQU0nCgkJZW5kCgoJCSMgJ3N3YXRjaCBpbnRlcm5ldCB0aW1l
JwoJCWRlZiBzZWxmLkIgdGltZQoJCQlyYWlzZSAiTm90IGltcGxlbWVudGVkOiBCIgoJCWVuZAoK
CQkjIGRheSBvZiB0aGUgbW9udGgsIDIgZGlnaXRzIHdpdGggbGVhZGluZyB6ZXJvcyAoMDEgLi4g
MzEpCgkJZGVmIHNlbGYuZCB0aW1lCgkJCSclMDJkJyAlIHRpbWUuZGF5CgkJZW5kCgoJCSMgZGF5
IG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