• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-timestamp

Update timestamp comment
  • #timestamp
jo-o-jj
0.0.9 925
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by