make DateSpec pub, pointed out by new warning