Actually, you need to filter the values of repeating field further down, according to the purpose.
For example, a repeating event, has different dates and times. When you query this on a date, it returns that single event. But as a matter of fact, when you access that custom field (holding date/time), it returns it completely, since it is a multiple values field. Further, when you display it using your formatted output short code, it just displays the time - for all available values. For an instance, if you do not format it, you will see "all dates and times" in output. In other words, the output not just displays the time, but the whole value of each repeating element.
This is where you need to filter this. The idea previously mentioned, is about the same thing. Let me try it explain in steps:
1. Define/create a short code: This will be your own custom short code, where you will accept the values of event's date/time field.
2. Filter the values: Your short code function will iterate through the values, and will decide, which one you need to display. For example, which date is being shown, so it will match against each value, for that particular date, and will return the time segment only.
3. Use your short code: Using 'types' field short code instead, you will now use your newly created custom short code. However, you will pass '[types field="fecha-y-hora" style="text" format="G:i"][/types]' as a parameter to your new short code. Since you will use your custom short code in the same view, the view will render the value of types field short code before passing to your short code. And then your short code will be executed. So your short code will work and output as #1 and #2 above.
Tip: As in #3, you may omit the "format" segment of types field short code, so you can have complete values for matching against the required one.
I hope this can take you in the right direction.
If you need further help in coding your short code function and any assistance regarding custom coding, please feel free to contact our certified partners at https://toolset.com/consultant/ .