mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 02:55:20 +00:00
chore: remove microsecond from posting_datetime
This commit is contained in:
@@ -671,4 +671,4 @@ def get_combine_datetime(posting_date, posting_time):
|
||||
if isinstance(posting_time, datetime.timedelta):
|
||||
posting_time = (datetime.datetime.min + posting_time).time()
|
||||
|
||||
return datetime.datetime.combine(posting_date, posting_time)
|
||||
return datetime.datetime.combine(posting_date, posting_time).replace(microsecond=0)
|
||||
|
||||
Reference in New Issue
Block a user