Fernhollow

Documentation / 03

Roster export

A finished week can leave the grid as a CSV table or as calendar events. Both examples below use the same sample rows.

01

CSV rows

Each line is one post. The first column names the post, and the next seven columns hold the Monday to Sunday states.

post,monday,tuesday,wednesday,thursday,friday,saturday,sunday
Front desk,Early,Early,Late,Late,Night,Off,Off
Operations,Late,Late,Night,Off,Early,Early,Off
Support line,Night,Off,Early,Early,Late,Off,Night

A sample file path looks like roster.example.com/exports/week-12.csv. Keep the header row unchanged so the columns stay in day order.

02

Calendar events

Each worked state becomes one event. The summary carries the state and the post, and the start and end fields give the clock window for that day.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Fernhollow//Roster Export//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:shift-2041
DTSTAMP:20260220T090000Z
DTSTART:20260302T070000Z
DTEND:20260302T150000Z
SUMMARY:Early shift - Front desk
LOCATION:Front desk
END:VEVENT
BEGIN:VEVENT
UID:shift-2042
DTSTAMP:20260220T090000Z
DTSTART:20260303T150000Z
DTEND:20260303T230000Z
SUMMARY:Late shift - Front desk
LOCATION:Front desk
END:VEVENT
END:VCALENDAR

Line breaks are written as plain newlines here so the fields are easy to read. Calendar tools expect the usual CRLF line ending in a downloaded file.

03

Before you export

Check that swaps are recorded, that holiday days carry the intended shape, and that Off days stay in the file. An Off day is useful context even though it creates no calendar event.