library "#include <DS1307.h> " does not work with i2c

I am facing problems with my program. I am using two displays with i2c and the RTC ds1306, But the library ds1307 just works when I am not using i2c in displays. WHat can I do?

Your post is incoherent, and your code apparently a secret, but maybe the displays are the problem, not the RTC. It might be due to the displays having the same address.