-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Derive publish/expiry-dates from SCHEDULED/DEADLINE time stamps
This will work only for subtree-based exports as the SCHEDULED and DEADLINE properties can be added only to subtrees.
- Loading branch information
1 parent
18021c8
commit 0807f42
Showing
5 changed files
with
88 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+++ | ||
title = "Expiry date set using DEADLINE" | ||
expiryDate = 2999-01-01T00:00:00+00:00 | ||
tags = ["dates", "expirydate", "deadline"] | ||
draft = false | ||
+++ | ||
|
||
If a subtree has the `DEADLINE` [Special Property](https://orgmode.org/manual/Special-properties.html) set, set the | ||
`expirydate` front-matter to the deadline date. | ||
|
||
By default, `C-c C-d` in Org adds the `DEADLINE` property to the | ||
current subtree. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+++ | ||
title = "Publish date set using SCHEDULED" | ||
publishDate = 2018-01-26T00:00:00+00:00 | ||
tags = ["dates", "publishdate", "scheduled"] | ||
draft = false | ||
+++ | ||
|
||
If a subtree has the `SCHEDULED` [Special Property](https://orgmode.org/manual/Special-properties.html) set, set the | ||
`publishdate` front-matter to the scheduled date. | ||
|
||
By default, `C-c C-s` in Org adds the `SCHEDULED` property to the | ||
current subtree. |