I seriously doubt it. "Diuretic" means peeing, not pooping. Watermelon is a diuretic. Dates are high in fiber, potassium, sugar, and might cause a bowel obstruction.
Not sure about how they would cause a bowel obstruction. More likely to cause [osmotic diarrhea](https://en.m.wikipedia.org/wiki/Diarrhea#Osmotic), which would be consistent with the original comment. But you’re right, they probably meant “laxative”, not “diuretic”
Fiber can help form stool if you have chronic diarrhea, but it can also help relieve constipation.
You are correct that diuretic refers to peeing; what the poster was probably trying to say was "laxative." And foods high in fiber and sugar can certainly work as laxatives!