Hey, I know this is a very old question, but my question is a bit different. I have a problem converting this layer to stroke. I attached the image in the post. When I try to convert a shape to stroke this is the result I get. In the image, on the left, the 'V' has a flat, horizontal end, but when I convert it into a stroke, the shape end shifts to a diagonal. I searched everywhere to fix this thing, but couldn't find any. Kindly help me out here
The only way to alter the end cap of strokes in Illustrator is via brushes or arrowheads. Otherwise, stroke caps are always perpendicular to the stroke. It is simply how Illustrator works. You can't alter the perpendicular cap with any simple setting adjustment.
See here for some possible help with end caps: Custom stroke caps in Illustrator?
However, in this particular case, it may require you to determine the angle at which you want the cap, then create a custom cap at that specific angle.