Let $f:(-1,1) \to \mathbb R$ be a continuous function, which is not differentiable at zero. Suppose that $f$ is strictly decreasing on $(-1,0]$, and is strictly increasing on $[0,1)$.
Is $f$ convex in some neighbourhood of zero?
I know that if $f$ is smooth at zero, then it does not need to convex near zero. (One can construct examples using bump functions, see here and here.)