~sircmpwn/aerc

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] note in aerc-templates.7.scd for toLocal function

Details
Message ID
<20200225224419.2899811-1-somebody@froghat.ca>
DKIM signature
missing
Download raw message
Patch: +7 -0
---
This is the entry in the docs for the toLocal template function that was added earlier.

 doc/aerc-templates.7.scd | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index a681fb2..dc3ee30 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -47,6 +47,8 @@ available always.

	The _dateFormat_ function can be used to format the date and time.

	The _toLocal_ function converts a time to the local time zone.

	Example:

	Format the date to go's time package format options.
@@ -54,6 +56,11 @@ available always.
	{{dateFormat .Date "Mon Jan 2 15:04:05 -0700 MST 2006"}}
	```

	Format the date in the local time zone.
	```
	{{dateFormat (.Date | toLocal) "Mon Jan 2 15:04:05 -0700 MST 2006"}}
	```

*Subject*
	The subject of the email is available for quoted reply and forward.

-- 
2.24.1
Details
Message ID
<C0VLYAST5T3Y.2UMMBVHRK81GN@homura>
In-Reply-To
<20200225224419.2899811-1-somebody@froghat.ca> (view parent)
DKIM signature
pass
Download raw message
Nice catch, thanks!

To git.sr.ht:~sircmpwn/aerc
   5ba1569..31489e3  master -> master
Reply to thread Export thread (mbox)