This plugin is deprecated in favor of https://github.com/inkdropapp/inkdrop-insert-date
A plugin for Inkdrop that allows you to quickly insert the current date and time into your notes. Uses Moment.js for formatting and localization.
ipm install insert-date
Just right-click in the editor to open the context menu and select Insert date
.
Alternatively you can add a keybinding to your keymap.cson
file like so:
{
"body": {
"ctrl-alt-d": "insert-date:toggle"
}
}
Please refer to Moment.js for all available displaying options and supported locales.
Here are some common options you can choose from:
MMMM Do YYYY, h:mm:ss a
: April 22nd 2016, 5:14:58 amLT
: 5:14 AMLTS
: 5:14:58 AML
: 04/22/2016l
: 4/22/2016LL
: April 22, 2016ll
: Apr 22, 2016LLL
: April 22, 2016 5:14 AMlll
: Apr 22, 2016 5:14 AMLLLL
: Friday, April 22, 2016 5:14 AM (default)llll
: Fri, Apr 22, 2016 5:14 AM
en
: Friday, April 22, 2016 5:14 AM (default)ja
: 2016年4月22日 金曜日 05:14de
: Freitag, 22. April 2016 05:14