I have view with one date field. Now I want to preprocess this date field(lets say I want to change the date format).
Twig file override : views-view-field--field_date.html.twig
Prepocess code I have tried but kint is showing me only DEPTH TOO GREAT value.
function my_sub_theme_preprocess_views_view_field__field_date(&$variables) {
kint($variables['view']);
}
Please let me know how to preprocess this field. Is it possible to change date format in twig itself?