Replace format_oar_date and oar_duration => format_date and get_seconds