np.Templating: provide interface to moment

Open
#395 1 comment 0 reactions 1 assignee View on GitHub

@mikeerickson is already working on this.

Since Jan 18, 2023.

Assessment

This issue has not been assessed yet.

Description

someone recently was asking for a template that could add a certain number of days to a date that the user entered. templating will do date math but only from date.now(). i was reminded of a request I made to make moment available via templating. something like:
date.moment()
so then they could do date.moment("2022-01-03").add("7m") (or use any other moment function

Dominant language
JavaScript
Stars
204
Forks
82
Avg merge
22h 27m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NotePlan/plugins

All issues in NotePlan/plugins

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.