fix: use context for formatted date in event_view #127

wants to merge 1 commit into


None yet

2 participants

Gagaro commented Jan 22, 2014

Using context allows the localization of the date.

It's already the case in event_listing:

thet commented Feb 11, 2014

in that case, the occurrences are already IOccurrence and IEvent objects, as returned by IRecurrenceSupport. so no need to access the context of an IEventAccessor as done in the example you referenced.

I agree this is confusing, so i changed the code ( and to be able to take IEventAccessor as well as IEvent and IOcurrence based objects in this commit:

if you still have some specific issues with that, let me know.

@thet thet closed this Feb 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment