Change do api call function name
Chaned function visibility
Bugfix in date formatting