Skip to content

walter/icalendar_rrule_type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICalendar RRULE Type

This adds an Ecto custom type for RRULE for use in your schemas.

Usage

  # for a single RRULE
  schema "somethings" do
    field :rrule, ICalendar.RRULE.Type
    ...
  end

  # or when allowing for multiple rrules
  schema "somethings" do
    field :rrules, {:array, ICalendar.RRULE.Type}, default: []
    ...
  end

WARNING

This is a pre-release work-in-progress that has a dependency on an unmerged walter/icalendar:feature/rrule branch version of icalendar. Use at your own risk.

Installation

The package can be installed by adding icalendar_rrule_type to your list of dependencies in mix.exs via github:

def deps do
  [
    {:icalendar_rrule_type, github: "walter/icalendar_rrule_type"}
  ]
end

About

ICalendar RRULE Type for use with Ecto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages