Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

add calendar property to allow customization#10

Open
crazytonyli wants to merge 1 commit intobillgarrison:masterfrom
crazytonyli:calendar-customization
Open

add calendar property to allow customization#10
crazytonyli wants to merge 1 commit intobillgarrison:masterfrom
crazytonyli:calendar-customization

Conversation

@crazytonyli
Copy link

Customize NSCalendar instance used by SORelativeDateTransformer might be a common use case.

In our app, we want to set the timezone of the NSCalendar instance, but since it's a private ivar, we can not do that. In this PR, calendar property is added so users can customize it as they need.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant