teambition / rrule-go

Go library for working with recurrence rules for calendar dates.
MIT License
310 stars 57 forks source link

Expose StrToFreq #46

Closed yordis closed 3 years ago

yordis commented 3 years ago

Hey there, we would like to take advantage of such function, we are doing something around the lines of

opt := rrule.ROption{
        Interval: 1,
        Freq:     rrule. StrToFreq(body.Frequency), // here, we would like to use the string MONTHLY rather than numbers
    }
zensh commented 3 years ago

thank you, v1.7.1 released.