A primary key is by definition unique. That's basically all: you cannot have a non-unique primary key, so if you have defined it as primary key, you cannot have repeating values.
solutions: make it a non-primary key / index, or add some uniqueness by making it a combined primary key with the date.