Turns out the error was not related to timestamps