Port fixes from edge to mdp3 to spark.
This commit is contained in:
1 parent
7ba2062e21
commit
35c6844501
4 files changed
+27
-25
No files matched your search
@@ -100,6 +100,8 @@ PTime local_now ()
|
||||
|
||||
PTime make_ptime (int year, int month, int day)
|
||||
{
|
||||
// January=1
|
||||
bts_assert_d(month > 0);
|
||||
boost::gregorian::date dt (year, boost::gregorian::greg_month (month),day);
|
||||
return PTime (dt);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user