Skip to content

Commit

Permalink
remove debug information for time conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
c-holtermann committed Mar 27, 2021
1 parent e3254b9 commit d3b8a59
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 d3b8a59

Please sign in to comment.