By “foreign”, I mean movies that were made for an audience outside of the US. It could be in English, as long as it was never created for the US market. I’ll open up with mentioning two Japanese time-travel movies:
Bubble Fiction (2007): This one is pretty good, but a lot of the humor will probably go right over the head of someone (like myself) who isn’t familiar with/nostalgic for the culture of Tokyo in the 1980s (in a similar way to how much of the humor in Back to the Future will go over the heads of someone without at least some knowledge of the culture of 1950s small-town America.)
Summer Time Machine Blues (2005): This one is more accessible and enjoyable for a general audience. One day, the members of a high school science fiction club (and the neighboring photography club) discover sitting in the middle of the club room something that looks somewhat like the classic time machine from H.G. Wells–and quickly discover that it is a time machine. (I won’t go into more details both because you can read the linked summary and I’d rather avoid giving spoilers in case anyone wants to give it a try.)
At the 2017 Boston Science Fiction Film Marathon a couple of weeks ago they showed the Spanish film TimeCrimes (Los Cronocrímenes) , a 2008 film with time loops.
The Time Loops (a la Heinlein’s By His Bootstraps) are interesting, but you quickly lose sympathy with the “hero”, who frequently acts like a jerk. It’s an “idiot plot”, in that the film wouldn’t work unless he acted like a jerk. So I’m not a big fan. Worth seeing once, though
A better foreign Time Travel movie is Predestination, a 2014 film from Australia based on Heinlein’s All You Zombies, which I saw at Arisia a year ago