Tankōbon / lib/reading-stats / buildLibraryGrowth
Function: buildLibraryGrowth()
buildLibraryGrowth(
entries,period,now?):LibraryGrowthPoint[]
Defined in: lib/reading-stats.ts:135
How many books the library holds at the end of each period (the last WEEKS_SHOWN weeks, the last MONTHS_SHOWN months, or each year since the first book was added), oldest first. It is rebuilt from the date each book now in the library was added: a book removed since is no longer counted, not even in the periods when it was there. Dates are read in the local time zone.
Parameters
entries
period
now?
Date = ...