atom-timestamp
Update timestamp comments like Time-stamp: <Jun 02 2006>
, Time-stamp: <2006-01-02 15:04:05>
to current date/time
This package uses Moment.js library for parsing/updating timestamp
Installation
Use apm command:
$ apm install atom-timestamp
or search for atom-timestamp
in Atom.
Usage
Settings
Timestamp Prefix
,Timestamp Suffix
- Regular expression pattern for timestamp prefix/suffix.Timestamp Formats
- Format-string for parsing/updating timestamp. Use Moment.js format. Time zone tokens (z
,zz
) and localized formats (L
,l
, ...) do not work.Scope Selector
- Regular expression pattern for scope name in syntax. By default, atom-timestamp only works in comments in syntax or plain text file.Number Of Lines
- Number of lines from the beginning to search timestamp comments.
Commands
atom-timestamp:update-timestamp
- Update timestamp comments to current date/time