Skip to content

Commit daee584

Browse files
committed
Datetime conversion to string
1 parent 4e3f471 commit daee584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/widgets/utils/domaineditor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def numbers_are_round(var, col_data):
313313
col_data = self._to_column(col_data, is_sparse)
314314
elif tpe == StringVariable:
315315
var = tpe.make(name)
316-
if type(orig_var) == DiscreteVariable:
316+
if type(orig_var) in [DiscreteVariable, TimeVariable]:
317317
col_data = [orig_var.repr_val(x) if not np.isnan(x) else ""
318318
for x in self._iter_vals(col_data)]
319319
elif type(orig_var) == ContinuousVariable:

0 commit comments

Comments
 (0)