summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Article/Summary.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-07-21 10:37:12 +0000
committerfukachan <fukachan>2003-07-21 10:37:12 +0000
commitabb87ebf2e413f500648cd38c5d22df15c62bdd7 (patch)
tree15798d31447f2d6297d38db1e3e4812ba7b8ea53 /fml/lib/FML/Article/Summary.pm
parenta85de35fc6dcd6c0ade02d04f688483c7c5b9c0b (diff)
downloadfml8-abb87ebf2e413f500648cd38c5d22df15c62bdd7.tar.gz
fml8-abb87ebf2e413f500648cd38c5d22df15c62bdd7.tar.bz2
fml8-abb87ebf2e413f500648cd38c5d22df15c62bdd7.zip
method-ify date_to_unixtime() of Mail::Message::Date.
Diffstat (limited to 'fml/lib/FML/Article/Summary.pm')
-rw-r--r--fml/lib/FML/Article/Summary.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Article/Summary.pm b/fml/lib/FML/Article/Summary.pm
index 3fbe99ac..2ff42001 100644
--- a/fml/lib/FML/Article/Summary.pm
+++ b/fml/lib/FML/Article/Summary.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Summary.pm,v 1.10 2003/02/16 08:48:05 fukachan Exp $
+# $FML: Summary.pm,v 1.11 2003/03/14 06:54:51 fukachan Exp $
#
package FML::Article::Summary;
@@ -99,7 +99,8 @@ sub _prepare_info
my $header = $msg->whole_message_header();
my $address = $header->get( 'from' ) || '';
my $date = $header->get( 'date' ) || '';
- my $unixtime = Mail::Message::Date::date_to_unixtime( $date );
+ my $obj = new Mail::Message::Date;
+ my $unixtime = $obj->date_to_unixtime( $date );
# log the first 15 bytes of user@domain in From: header field.
if (defined $address) {