All Dallas chips miss pins, look at all the "NC" pins on the diagram you just posted...
First off, the different Dallas chips are not mutually compatible (other than 1287=12887), so you need to find out what was originally on the board. The manual should say.
Secondly, the DS1285 is an RTC without a battery, so if there's no battery on your board, that one definitely isn't right. That's also why it looks 'funny'.
Thirdly, unless you want to mod new batteries onto old modules, don't buy these things 2nd hand as the included batteries are almost certainly dead. Buy them new form a reputable (online) electronics store.
Finally, what do you mean by " it did not work"?
- it boots up but doesn't hold time settings after power down? If so, it's the correct type of module, just the battery is dead. Mod a new battery onto it or buy a new one that does work.
- it doesn't boot at all? Then it's probably the wrong kind of module (most likely alternative: DS1387 RTC RAMified, which is no longer made, so you need to mod it).