Changeset View
Changeset View
Standalone View
Standalone View
io_import_dxf/dxfgrabber/juliandate.py
| Context not available. | |||||
| def frac2time(jdate): | def frac2time(jdate): | ||||
| seconds = int(frac(jdate) * 86400.) | seconds = int(frac(jdate) * 86400.) | ||||
| hour = int(seconds / 3600) | hour = int(seconds / 3600) | ||||
| seconds = seconds % 3600 | seconds %= 3600 | ||||
| minute = int(seconds / 60) | minute = int(seconds / 60) | ||||
| second = seconds % 60 | second = seconds % 60 | ||||
| return hour, minute, second | return hour, minute, second | ||||
| No newline at end of file | No newline at end of file | ||||
| Context not available. | |||||