better date format for history. get data handler for plot