|
journal
all | Rob is 20,357 days old today. |
|
Entries this day: dates forgot-my-keys moe-joe-work today-to-do dates 21:08 Thursday 06 October 2016 JSTSweet. Now I can add dates as above or timestamps as below. 21:08See? 21:08 Thursday 06 October 2016 JST21:0821:08 Thursday 06 October 2016 JST21:08 Thursday 06 October 2016 JST21:0821:0821:08 Thursday 06 October 2016 JST21:08 Thursday 06 October 2016 JST21:0821:08 Thursday 06 October 2016 JST;;; https://stackoverflow.com/a/251922
(defvar current-date-time-format "## %H:%M %A %d %B %Y %Z"
"Format of date to insert with `insert-current-date-time' func
See help of `format-time-string' for possible replacements")
(defvar current-time-format "## %H:%M"
"Format of date to insert with `insert-current-time' func.
Note the weekly scope of the command's precision.")
(defun markdown-timestamp-full ()
"Insert the current date and time into current buffer. Uses `current-date-time-format' for the formatting the date/time."
(interactive)
(insert (format-time-string current-date-time-format (current-time)))
(insert "\n")
)
(defun markdown-timestamp-short ()
"Insert the current time (1-week scope) into the current buffer."
(interactive)
(insert (format-time-string current-time-format (current-time)))
(insert "\n")
)
(global-set-key (kbd "C-c t") 'markdown-timestamp-short) (global-set-key (kbd "C-c T") 'markdown-timestamp-full)permalink forgot my keys 21:28 Thursday 06 October 2016 JSTI forgot my keys today, so I'm chillin' in a bakery in our station waiting for Lin to arrive so we can go home together. 21:30Ah crap the bakery is closing now. permalinkmoe joe work 20:38 Thursday 06 October 2016 JSTThere's a stinkin' gray line in the design, and I can't find it in the CSS. They want me to get rid of it, and I'm not sure how to find it. I didn't search online, but that may be my next step. But what search terms will work for this??? permalinktoday to do 12:48 Thursday 06 October 2016 JSTI forgot my keys today, so I hope someone is in the office in Ebisu.
|