Skip to content

Setting item date from addons (#2345)#2362

Merged
eikek merged 1 commit intoeikek:masterfrom
v6ak:feature/2345-setting-item-date-from-addons
Nov 7, 2023
Merged

Setting item date from addons (#2345)#2362
eikek merged 1 commit intoeikek:masterfrom
v6ak:feature/2345-setting-item-date-from-addons

Conversation

@v6ak
Copy link
Copy Markdown
Contributor

@v6ak v6ak commented Nov 7, 2023

No description provided.

@eikek eikek added this to the Docspell 0.41.0 milestone Nov 7, 2023
@eikek eikek merged commit 6960252 into eikek:master Nov 7, 2023
@eikek
Copy link
Copy Markdown
Owner

eikek commented Nov 7, 2023

Thank you!

@eikek eikek linked an issue Nov 7, 2023 that may be closed by this pull request
@madduck
Copy link
Copy Markdown
Contributor

madduck commented Nov 10, 2023

I can confirm it works if I pass:

{"date": 1348221600000, "action": "set-date"}

as an action. The timestamp is Unix time 12:00 UTC on the date, converted to milliseconds, i.e. *1000.

I'll create a PR for documentation.

madduck added a commit to madduck/docspell that referenced this pull request Nov 10, 2023
Document the new `set-date` addon action introduced by eikek#2362.

Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Document the new `set-date` addon action introduced by eikek#2362.

Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Document the new `set-date` addon action introduced by eikek#2362.

Signed-off-by: martin f. krafft <madduck@madduck.net>
eikek added a commit that referenced this pull request Nov 12, 2023
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 12, 2023
Signed-off-by: martin f. krafft <madduck@madduck.net>
madduck added a commit to madduck/docspell that referenced this pull request Nov 15, 2023
Signed-off-by: martin f. krafft <madduck@madduck.net>
eikek added a commit that referenced this pull request Nov 15, 2023
Add logic to set due date from addons, based on #2362
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting item date from addons

3 participants