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

Back to archive index

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


Index: affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm
diff -u affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm:1.2 affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm:1.3
--- affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm:1.2	Tue May 23 14:52:46 2006
+++ affelio/lib/Affelio/App/Standalone/MyNewsRoutines.pm	Tue May 23 14:56:59 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.2 2006/05/23 05:52:46 higefuku Exp $
+# $Id: MyNewsRoutines.pm,v 1.3 2006/05/23 05:56:59 higefuku Exp $
 
 package Affelio::App::Standalone::MyNewsRoutines;
 {
@@ -70,11 +70,11 @@
 	my @row=();
 	my $count=0;
 	while((@row = $news->fetchrow_array) && ($count < 10)){
-	    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",
+#	    my ($sec, $min, $hour, $mday, $mon, $year) = localtime($row[1]);
+#	    $mon+=1;
+#	    $year+=1900;
+#	    push(@ret_list, {date => "$year/$mon/$mday $hour:$min",
+	    push(@ret_list, {date => timestamp2stringB($row[1]),
 			     app => $row[2],
 			     title => $row[3],
 			     url => $row[6]});


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