jana r733 - in trunk: . libjana



Author: rbradford
Date: Tue Feb 17 13:30:54 2009
New Revision: 733
URL: http://svn.gnome.org/viewvc/jana?rev=733&view=rev

Log:
2009-02-17  Rob Bradford  <rob linux intel com>

  * libjana/jana-utils.c (jana_utils_time_to_tm):
    Assign the minutes when creating the struct tm from a JanaTime.

Modified:
   trunk/ChangeLog
   trunk/libjana/jana-utils.c

Modified: trunk/libjana/jana-utils.c
==============================================================================
--- trunk/libjana/jana-utils.c	(original)
+++ trunk/libjana/jana-utils.c	Tue Feb 17 13:30:54 2009
@@ -226,6 +226,7 @@
 	
 	memset (&broken, 0, sizeof (struct tm));
 	broken.tm_sec = jana_time_get_seconds (time);
+	broken.tm_min = jana_time_get_minutes (time);
 	broken.tm_hour = jana_time_get_hours (time);
 	broken.tm_mday = jana_time_get_day (time);
 	broken.tm_mon = jana_time_get_month (time) - 1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]