Rewriting dates with Emacs multiple cursors

from blog lmno.lol @alvaro, | ↗ original
Needed to rewrite the date format in a couple of csv columns. Emacs multiple cursors helps here, but needed a function to parse and reformat the dates themselves. I can likely reformat dates using the built-in parse-time-string and format-time-string functions, but hey why not give the ts.el library a try… (defun ar/region-to-timestamp () ...