Fix date reading in tags