Date is part of the stdlib, not corelib. Make it an optional lib