According to the Ljubljana bus station web site, there are just several buses per day going from Piran to Ljubljana.
For example for June 25 there are ones at (picking those in the afternoon) 12.10pm, 12.41pm, 3.05pm, 4.00pm.
(https://www.ap-ljubljana.si/en/timetable/?departure=Piran&destination=LJUBLJANA+BUS+STATION&date=25.06.2022)
But I'm currently here in Piran now and at the bus stop there is a timetable for Arriva posted (but not for any other bus company) and its showing dozens of departures, for example at 12.00, 12.20,12.40,13.00,13.20,13.40,13.50,14.00,14.20, 14.55 ...
Why are none of these departures shown in www.ap-ljubljana.si and why are none of the departures in www.ap-ljubljana.si posted at the Piran bus station?
Yet also if I go to the Arriva website and try to find the timetable from Piran to Ljubljana AP it says there's none.
So I'm totally lost, and have no idea if there are any buses or not by Arriva from Piran to Ljubljana and what time they are