Change Time to UTC or Local
Today I discovered yet another cool feature from the vim-speeddating plugin.
To change a time in a Vim buffer to UTC, type d<C-A>
with the cursor over the word. For local time, d<C-X>
.
A use case would be setting a created_at
time in a test, or time-stamping a manual log entry.