ese-unibe-ch/ese2011-team4 — Issue #12: How to route a date format
Author: jokr
Created: 2011-10-15 17:24:40+00:00
State: open
Labels: question

Currently the Calendars.show methods needs the date as three integers. It would be much easier and readable if we could route a date format. But I don't know if and how this would work. It' would then look somehow like this:

GET /calendar/show/{id}/{year}-{month}-{day} Calendars.show(id, new DateTime().withYear(year).withMonthOfYear(month).withDayOfMonth(day)

Dunno how to solve this. If anyone does, please tell me.