Skip to content

Commit

Permalink
Merge branch 'python-silent-conversion' of git://github.com/c-holterm…
Browse files Browse the repository at this point in the history
…ann/gnucash into maint
  • Loading branch information
christopherlam committed Mar 27, 2021
2 parents 3fb60c7 + d3b8a59 commit df45762
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bindings/python/time64.i
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@
PyDateTime_IMPORT;
struct tm t;
gnc_localtime_r(&$1, &t);
printf("\nConverting %d hours and %d minutes in zone %ld %s to python local time\n",
t.tm_hour, t.tm_min, t.tm_gmtoff/3600, t.tm_isdst ? "DST" : "STD");
$result = PyDateTime_FromDateAndTime(t.tm_year + 1900, t.tm_mon + 1,
t.tm_mday, t.tm_hour, t.tm_min,
t.tm_sec, 0);
Expand Down

0 comments on commit df45762

Please sign in to comment.