Purpose: To align timezones on showing current fiscal year. Currently dates of Fiscal Year doesn't count selected timezone in FOLIO and there is dependency on server timezone inside API of fetching current fiscal year for Ledger. This means that even though the user believes it is the first day of the fiscal year. The timezone could mean the system does not show it yet.
User story statement(s):
As a user of ui-finance with view ledger permissions,
I want to see current fiscal year according to timezone of FOLIO instance. Deleted in Language and localization settings.
so that View ledger screen shows the current fiscal year as user expects
Given user is viewing the ledger
When today is the start date of fiscal year XYZ
Then fiscal year XYZ becomes the current fiscal year as of 12:00am (the systems timezone) on the start date of fiscal year XYZ
System retrieves current fiscal year by checking fiscal year period against the current date and time in the FOLIO systems timezone