1.0.0 • Published 2 years ago
@apolitical/common-helpers-events v1.0.0
Common Helpers- Events
Node.js module to expose functionality to format event date into how it should be displayed on the frontend.
Current function
- formatEvents
- Takes an array of events, groups them into whether they are in the future or past. It returns an object with futureEvents and pastEvents