Fix tag date parsing and handling