Accounting periods: financial year, monthly, quarterly, annual #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Manage accounting periods for generating reports over standard and custom date ranges.
Built-in Periods
Configurable Financial Year
Period Helpers
CurrentPeriod(periodType)— the period containing todayPreviousPeriod(period)— the preceding period of the same typeYearToDate(date)— from financial year start to the given datePeriodsInRange(from, to, periodType)— generate all period boundaries within a rangePeriod{From, To time.Time}— usable directly as report date rangesAcceptance Criteria
Periodstruct withFromandTofieldsFinancialYearconfig with UK defaultMigrated from Codeberg: originally #3, opened 2026-03-25.