[Affelio-cvs 1278] CVS update: affelio/lib/Affelio/App/Standalone

Back to archive index

Yoshihisa Fukuhara higef****@users*****
2006年 5月 23日 (火) 14:52:47 JST


Index: affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm
diff -u affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm:1.1 affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm:1.2
--- affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm:1.1	Tue Mar  7 23:39:09 2006
+++ affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm	Tue May 23 14:52:46 2006
@@ -14,7 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: MyNewsRoutines.pm,v 1.1 2006/03/07 14:39:09 slash5234 Exp $
+# $Id: MyNewsRoutines.pm,v 1.2 2006/05/23 05:52:46 higefuku Exp $
 
 package Affelio::App::Standalone::MyNewsRoutines;
 {
@@ -70,7 +70,11 @@
 	my @row=();
 	my $count=0;
 	while((@row = $news->fetchrow_array) && ($count < 10)){
-	    push(@ret_list, {date => timestamp2stringB($row[1]),
+	    my ($sec, $min, $hour, $mday, $mon, $year) = localtime($row[1]);
+	    $mon+=1;
+	    $year+=1900;
+#	    push(@ret_list, {date => timestamp2stringB($row[1]),
+	    push(@ret_list, {date => "$year/$mon/$mday $hour:$min",
 			     app => $row[2],
 			     title => $row[3],
 			     url => $row[6]});


Affelio-cvs メーリングリストの案内
Back to archive index