Merge pull request #1077 from expsa/dev_odex25_mobile
Dev odex25 mobile
This commit is contained in:
commit
c6a9b942c9
|
|
@ -235,7 +235,7 @@ class LeaveController(http.Controller):
|
|||
user.tz or 'GMT')
|
||||
from_date = fields.Datetime.from_string(body["start_date"]).replace(hour=0, minute=0, second=0,
|
||||
microsecond=0,tzinfo=local_tz)
|
||||
to_date = fields.Datetime.from_string(body["end_date"]).replace(hour=23, minute=59, second=0,
|
||||
to_date = fields.Datetime.from_string(body["end_date"]).replace(hour=0, minute=0, second=0,
|
||||
microsecond=0,tzinfo=local_tz)
|
||||
utc_dt_from = from_date.strftime("%Y-%m-%d %H:%M:%S")
|
||||
utc_dt_to = to_date.strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
|
@ -336,7 +336,7 @@ class LeaveController(http.Controller):
|
|||
user.tz or 'GMT')
|
||||
from_date = fields.Datetime.from_string(body["start_date"]).replace(hour=0, minute=0, second=0,
|
||||
microsecond=0, tzinfo=local_tz)
|
||||
to_date = fields.Datetime.from_string(body["end_date"]).replace(hour=23, minute=59, second=0,
|
||||
to_date = fields.Datetime.from_string(body["end_date"]).replace(hour=0, minute=0, second=0,
|
||||
microsecond=0, tzinfo=local_tz)
|
||||
utc_dt_from = from_date.strftime("%Y-%m-%d %H:%M:%S")
|
||||
utc_dt_to = to_date.strftime("%Y-%m-%d %H:%M:%S")
|
||||
|
|
|
|||
Loading…
Reference in New Issue