Multiple modification for episode.js
- Change type from datetime to date for publishedAt and availableUntil
- Remove "required" from publishedAt and availableUntil
- Add formattedPublishedAt and Episode.formattedAvailableUntil functions
-
Add case when publishedAt === null
Fix bug that publishedAt can be the future
For example, if today is 2014/03/23 and written "12月14日", the result will be 2014/12/14 although it is actually published at 2013/12/14