Sometimes you should format your output in your api, so, you can use casts. 2015/12/09 Wednesday