You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In conversion with @dbernheisel the topic of adding events to a formatted calendar came up. It has been on the "to do" list for a while so this issue is to track design ideas.
My initial thoughts are:
Design goals
An :events option can be passed to Cldr.Calendar.Format.{week, month, year}/2
A module implementing the Cldr.Calendar.Formatter behaviour will would include a format_event/2 function which is passed an event and some options
Events should be based upon icalendar. At least one parser/encoder exists from @lpil although I have not checked how much support for recurring events it has.
In conversion with @dbernheisel the topic of adding events to a formatted calendar came up. It has been on the "to do" list for a while so this issue is to track design ideas.
My initial thoughts are:
Design goals
:events
option can be passed toCldr.Calendar.Format.{week, month, year}/2
Cldr.Calendar.Formatter
behaviour will would include aformat_event/2
function which is passed an event and some optionsAPI idea
Things to think about
The text was updated successfully, but these errors were encountered: