[
https://issues.apache.org/jira/browse/OFBIZ-6704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980074#comment-14980074
]
Pierre Smits commented on OFBIZ-6704:
-------------------------------------
You are correct. Currently there is no easy function in place to set the
end-of-day in thruDate fields. It must be done either by setting the next day
(on fields with type="date"), or by setting the time to 23:59 (on the other
date-time fields).
> Creating & Closing Custom Time Periods
> --------------------------------------
>
> Key: OFBIZ-6704
> URL: https://issues.apache.org/jira/browse/OFBIZ-6704
> Project: OFBiz
> Issue Type: Bug
> Reporter: David Hughes-Owens
>
> I have been looking at the functionality around creating and closing time
> periods.
> I have uncovered a potential issue with the Thru Date of a period and the
> closing process.
> For example, January period runs form 01-01-2015 to 31-01-2015. The form &
> thru dates are date formats and require no time input.
> When you do a period close the code creates the accounting transaction
> between P&L and Retained Earnings.
> However, this transaction is time stamped and creates a transaction date of
> 30-01-2015 23:59:59. I believe this is due to the service taking the thru
> date as 31-01-2015 00:00:00. When it should be 31-01-2015 23:59:59.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)