Revision: 57246
http://sourceforge.net/p/brlcad/code/57246
Author: tbrowder2
Date: 2013-08-28 22:45:52 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
use the definition of the broken down time--zero is a valid value for year and
month
Modified Paths:
--------------
brlcad/trunk/src/libbu/date-time.c
Modified: brlcad/trunk/src/libbu/date-time.c
===================================================================
--- brlcad/trunk/src/libbu/date-time.c 2013-08-28 22:44:21 UTC (rev 57245)
+++ brlcad/trunk/src/libbu/date-time.c 2013-08-28 22:45:52 UTC (rev 57246)
@@ -56,8 +56,8 @@
/* put the UTC time in the desired ISO format: "yyyy-mm-ddThh:mm:ssZ" */
bu_vls_sprintf(vls_gmtime, "%04d-%02d-%02dT%02d:%02d:%02dZ",
- loctime.tm_year > 0 ? loctime.tm_year + 1900 :
loctime.tm_year,
- loctime.tm_mon > 0 ? loctime.tm_mon + 1 : loctime.tm_mon,
+ loctime.tm_year + 1900,
+ loctime.tm_mon + 1,
loctime.tm_mday,
loctime.tm_hour,
loctime.tm_min,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits