Is the following theorem
If $f$ is continuous at $a$, then for any $\epsilon>0$ there is a $\delta>0$ so that whenever $|x-a|<\delta$ and $|y-a|<\delta$, we have $|f(x)-f(y)|<\epsilon$.
equivalent to saying that if $f$ is continuous at a point $c$ then it is continuous on some interval around that point $c$?
Take the function $$ f : x \mapsto \begin{cases} 0 & -\infty <x \le 0 \\ q^n & q^{n+1} \le x < q^{n} ;& n\in \mathbb N, 0 < q < 1 \end{cases} $$ which is continuous at $x = 0$, but not on any open intervall containing $x=0$. See this for $q = 1/2$