fix date handling
fix legacy test
improve logging format