-----------------------------------------------------------------
Revision: a02a2a74e9daa2b9241b524a9efcd1be0d84e956
Ancestor: 63ee3c8995c24b7d680563f493fdfd4f8777d1a0
Author: [email protected]
Date: 2008-10-27T16:07:49
Branch: net.venge.monotone.dates
Modified files:
dates.cc dates.hh
ChangeLog:
* dates.{cc,hh}: made the member functions our_gmtime and our_mktime static,
our_mktime now returns a signed int, gmtime takes the milliseconds count
as an argument.
Dropped the millisec plural 's' so as to be consistent with other members
of struct broken_down_time.
Added Zack Weinberg's optimization for date_t::now().
Reverted the ordering of arguments for the constructor from broken-down
date elements, so that later elements can be optional. Added milliseconds
to that constructor.
Corrected an off-by-one bug in our_mktime, restructured that to cope with
years back to 0, added unit tests for that.
monotone --db={your.database} diff
--revision=63ee3c8995c24b7d680563f493fdfd4f8777d1a0
--revision=a02a2a74e9daa2b9241b524a9efcd1be0d84e956
----------------------------------------------------------------------
_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs