Skip to content

Atom package to insert the current date & time.

License

Notifications You must be signed in to change notification settings

dannyfritz/atom-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atom Date Package

Insert the current date & time.

Installation

apm install date

or find it in the Packages tab under settings.

Usage

Select a command from Date & Time in the Command Palette.

You can also bind your keys to date:date, date:time, and date:datetime.

Options

Formatting is done using moment, see the moment format doc for all options.

To make use of the I18n support available in moment, set the "locale" setting.

Examples

All outputs are for 11:39:23.584 AM MDT August 21, 2017

Format Output
D/M/YYYY 21/8/2017
dddd MMMM D, YYYY Monday August 21, 2017
H:mm A 11:39 AM
X 1503337163
YYYY-MM-DD 2017-08-21
THH:mm:ssZ T11:39:23-06:00