You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2019/04/25 07:06:17 UTC

[GitHub] [fineract] Ippezrobert commented on issue #563: JdbcSupport added utility function for getting localDateTime after considering timezone of tenant

Ippezrobert commented on issue #563: JdbcSupport added utility function for getting localDateTime after considering timezone of tenant
URL: https://github.com/apache/fineract/pull/563#issuecomment-486546010
 
 
   **@mohitsinha , Is it possible to implement this too?**
   **Background**
   Currently the today variable in getLocalDateOfTenant() method takes the current date of the server. However, we would like to have a custom current date by creating a new column in m_office called current_working_date and this value queried from the database and set as today. It is then changed or set to the next working date when closing day (Accounting Closure) 
   
   So if as of today the current_working_date is say '18-04-2019' though the date today is 23-04-2019, we want all system posted transactions and manual transactions to have '18-04-2019' as transaction date. At the end of the day, during Accounting Closure, the next working date (19-04-2019' is set.
   
   How do i modify DateUtils.getLocalDateOfTenant()  to achieve this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services