tetnode: correct datetime library usage