Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.31 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.31 KB

Deprecated

This plugin is deprecated in favor of https://github.com/inkdropapp/inkdrop-insert-date

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.

Install

ipm install insert-date

Usage

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"
  }
}

Settings

Please refer to Moment.js for all available displaying options and supported locales.

Format

Here are some common options you can choose from:

  • MMMM Do YYYY, h:mm:ss a: April 22nd 2016, 5:14:58 am
  • LT: 5:14 AM
  • LTS: 5:14:58 AM
  • L: 04/22/2016
  • l: 4/22/2016
  • LL: April 22, 2016
  • ll: Apr 22, 2016
  • LLL: April 22, 2016 5:14 AM
  • lll: Apr 22, 2016 5:14 AM
  • LLLL: Friday, April 22, 2016 5:14 AM (default)
  • llll: Fri, Apr 22, 2016 5:14 AM

Locale

  • en: Friday, April 22, 2016 5:14 AM (default)
  • ja: 2016年4月22日 金曜日 05:14
  • de: Freitag, 22. April 2016 05:14