hi all,

i just checked in an update to the code in TimeP that converts CURRENT_TIME into localtime.

this code manually performs this function for people who are providing a timestamp at compile time instead of at runtime using a convention like host_time (see hosttimelogging for the canonical example).

anyway, if you read the svn log and/or the comment in TimeP (i wrote a comment. must be cold in hell, too.), you'll see that i re-calculated and extended the year array, which expired in 2012. this averts a deficiency in the code that causes dates to go wrong during the last year, counting from g_first_year NUM_YEARS into the future.

anyway, anyone setting time at the compile line has already noticed bad file dates, so pick up the update thus:

cd ~/tinyos-main/tos/platforms/shimmer

svn update

happy new year,

steve

_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users

Reply via email to