datetime: fix error when timestamp is set with nsec/usec/msec
This patch fixes a case when timestamp is passed to datetime.set function at the same time with nsec, usec or msec. It works fine for datetime.new but some logic was missed for set function. Here we fix that and introduce a test. Closes #8583 NO_DOC=bugfix
Showing
Loading
Please register or sign in to comment