I tend to get badly swollen feet and ankles in hot weather, and have done so for years, way before I was ever diabetic. Doctor gave me the same advice to keep feet up high as much as possible. I was also given support stockings which unfortunately didn't do much to help.
Robbity