Is it bad to eat things that are cold (e.g. Ice cream) on your period?

I've heard this for many years, just wanted to know if it's true and if so, why not?