| @@ -14,9 +14,10 @@ | ||
| 14 | 14 | const DATE = 2; |
| 15 | 15 | const DATETIME = 3; |
| 16 | 16 | |
| 17 | 17 | public static function time_to_string( string $value, int $stamp_format = self::DATE ): string { |
| 18 | - $value = jet_fb_parse_dynamic( $value ); | |
| 18 | + // Min/max come from the field block's own attributes (admin-authored). | |
| 19 | + $value = jet_fb_parse_dynamic_trusted( $value ); | |
| 19 | 20 | |
| 20 | 21 | if ( ! is_scalar( $value ) ) { |
| 21 | 22 | return ''; |
| 22 | 23 | } |