Sat Jun 9 18:04:12 CEST 2018

nb blog entries with corrected dates

This is the first and only blog entry today with an honest date. The other two were made afer-the-fact for the last week.

I need to do this often. (Just maybe I'll fill in a few snippets for the huge last 2-year gap.) So as a personal reminder, this is how to do it:

nb --var TIMESTAMP --set-var 2018-06-06T16:00:00 add entry

(The time without a zone spec is used as local time.) The documented way is:

nb --var TIMESTAMP --set-var "2018-06-06 16:00:00" add entry

but this does not work; the space is just wrong.

Also possible: specifying

TIMESTAMP: 2018-06-06T16:00:00

instead of(!) a DATE: in the new header.

Stating the intended date in the DATE: header will only work halfways: the calendar entry and filename will still reflect the date when the blog entry was made.


Posted by neitzel | Permanent link | File under: learned