Fix date formatting in tree.