Fix missing algorithm and format date