Arduino and DS1307

Disconnect the battery, does it display the time? If so, are you running from USB power?

I had similar troubles running from USB, connecting a DC supply solved the probems.