The Man with the Magic Box

A janitor in Warsaw stumbles upon a time-traveling device in his apartment and gets stuck in the past while the woman he's been seeing looks for him.