diff --git a/README.md b/README.md index c676faa..ab6c0e0 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,34 @@ Under the **Plugins** menu: | Item | Inserts | | --- | --- | -| Insert Date | `2026-08-18` (`Mod+Shift+T`) | -| Insert Timestamp | `2026-08-18 14:30` | -| Insert ISO Timestamp | `2026-08-18T14:30:00.000Z` | +| Insert Date | Local date `YYYY-MM-DD` (`Mod+Shift+T`) | +| Insert Timestamp | Local date and time `YYYY-MM-DD HH:MM` | +| Insert ISO Timestamp | ISO timestamp from `Date.toISOString()` | + +Examples: `2026-08-18`, `2026-08-18 14:30`, `2026-08-18T14:30:00.000Z`. ## Develop +Source is CommonJS (`src/index.js`). The desktop loads `dist/index.js`. + +``` +npm run build # copies src/index.js → dist/index.js +npm run pack # dripnex-plugin pack . +``` + +Same steps by hand: + ``` -# edit src/index.js, then cp src/index.js dist/index.js dripnex-plugin pack . ``` Attach `stamp-0.1.0.tar.gz` to the GitHub release for that tag. + +## Contribute + +Open a pull request. Keep the change small and focused on one fix or one small improvement. + +Edit `src/index.js`, then run `npm run build` so `dist/index.js` stays in sync. + +License: MIT.