Added api resource and played with formatting date.