[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision a02a2a74e9daa2b9241b524a9efcd1be0d84e9
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision a02a2a74e9daa2b9241b524a9efcd1be0d84e956 |
Date: |
Tue, 6 Jan 2009 10:08:37 +0100 |
-----------------------------------------------------------------
Revision: a02a2a74e9daa2b9241b524a9efcd1be0d84e956
Ancestor: 63ee3c8995c24b7d680563f493fdfd4f8777d1a0
Author: address@hidden
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.
txtdGPKS20uB4.txt
Description: Diff [63ee3c8995c24b7d680563f493fdfd4f8777d1a0] -> [a02a2a74e9daa2b9241b524a9efcd1be0d84e956]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision a02a2a74e9daa2b9241b524a9efcd1be0d84e956,
monotone <=