Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matthewcallis/atom-date-helpers
Adds date highlighting and conversion to Atom.
https://github.com/matthewcallis/atom-date-helpers
atom atom-package converter date date-formatting highlight timestamp
Last synced: 18 days ago
JSON representation
Adds date highlighting and conversion to Atom.
- Host: GitHub
- URL: https://github.com/matthewcallis/atom-date-helpers
- Owner: MatthewCallis
- License: mit
- Created: 2017-02-17T00:33:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-17T19:22:16.000Z (almost 8 years ago)
- Last Synced: 2024-11-09T23:32:21.642Z (3 months ago)
- Topics: atom, atom-package, converter, date, date-formatting, highlight, timestamp
- Language: JavaScript
- Homepage: https://atom.io/packages/atom-date-helpers
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Atom Date-Helpers
Adds date highlighting and conversion to Atom.
![Screenshot](https://raw.githubusercontent.com/MatthewCallis/atom-date-helpers/master/screenshot.png)
## Notes
Dates accept any valid [Moment.js](https://momentjs.com/) format. Dates are slightly highlighted between the following colors along a scale (1/4th a year):
```sass
#F3B1CB, #F0ACA8, #FFC9AD, #F2E1AC, #E0F7D2, #DDEDF8, #7484DA
```## Caveats
- The highlights do not persist as there is currently no way to find the range of a given scope selector. When this API lands, I will fix this, otherwise we would need to build our own parser like [pigments](https://github.com/abe33/atom-pigments), but that is buggy.