episodes: add some debugging and fix strftime call