README.org (1406B)
1 #+title: Insert Date 2 #+author: Jamie Beardslee 3 #+email: jdb@jamzattack.xyz 4 5 Just a tiny package to insert dates. I version all my elisp 6 packages as "%Y.%m.%d" and wanted to quickly insert that in the 7 magit tag prompt. 8 9 Another similar package is [[https://github.com/rmm5t/insert-time.el][insert-time]] but I found it too limited, as 10 it only supports inserting four (=setq=-able) formats. 11 12 No customizations are supported, I don't find it necessary because 13 I'm the only person using this package. 14 15 * Command index 16 17 - *Function*: ([[help:insert-date-version][insert-date-version]] ()) 18 19 Insert the date for use as a version. 20 - 1970.01.30 21 22 - *Function*: ([[help:insert-date-only-date][insert-date-only-date]] ()) 23 24 Insert the date, separated by hyphens. 25 - 1970-01-30 26 27 - *Function*: ([[help:insert-date-only-time][insert-date-only-time]] (&optional 12-hour)) 28 29 Insert the current time. 30 With prefix arg, insert 12-HOUR format with AM/PM. 31 - 23:11 (24 hour) 32 - 11:11 PM (12 hour) 33 34 - *Function*: ([[help:insert-date-both][insert-date-both]] ()) 35 36 Insert the date and time. 37 - 1970-01-30 23:11 38 39 - *Function*: ([[help:insert-date-locale][insert-date-locale]] ()) 40 41 Insert the current date and time according to locale. 42 43 - *Function*: ([[help:insert-date-iso8601][insert-date-iso8601]] ()) 44 45 Insert the current date and time in full ISO 8601 format. 46 - 1970-01-01T23:11:00+1200 47 48 * License 49 50 GPL+