if it doesn't work yet, try looking around more : you're probably missing a piece of the puzzle !
I didn't get a bug, but that puzzle is "clue-proofed," meaning the game forces you to find a clue you don't really need before the correct input will work. It's a very hard-to-find clue too, I really would have used a different puzzle flow.
Edit: The sundial problem does affect this, see my other reply.