First Last Prev Next    No search results available
Details
: %dateformat% function for inserting / updating current time
Bug#: 26588
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P3
: enhancement
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Axel Grude <axel.grude@gmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments
1.6 prerelease 146 (483.97 KB, application/x-xpinstall)
2018-10-10 07:12, Axel Grude
no flags Details
1.6 prerelease 168 (485.27 KB, application/x-xpinstall)
2018-10-10 11:08, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2018-10-10 06:21
Provide a "clickable" field in the email that contains the current formatted
date / time. Reuse the existing date variables Y,y,m,n,S,T etc.
------- Comment #1 From Axel Grude 2018-10-10 07:05:07 -------
%dateformat(_formatString_)%

Format string is a placeholder for date, time and any special characters
(except for parentheses or percent signs)

The format variables are taken from the regular formats such as %Y% for 4-digit
Years, with the % symbols stripped

Supported Formats:
Y, y, n, m, e, d, k, H, l, I, M, S, tz_name, B, b, A, a, p1, p2, p

Examples:
%dateformat(A, e/n/Y, H:M)%
==>
Wednesday, 23/02/2018, 14:23
------- Comment #2 From Axel Grude 2018-10-10 07:12:15 -------
Created an attachment (id=8533) [details]
1.6 prerelease 146

Test version. This includes the new behavior from [Bug 24993] which supports
clicking the field to update the time. Note that the "Clean up" button
(customize the composer toolbar to get it) should be clicked before sending so
that the smartTemplate fields are removed / replaced with pure text.
------- Comment #3 From Axel Grude 2018-10-10 11:08:42 -------
Created an attachment (id=8535) [details]
1.6 prerelease 168

Latest version - the variable tab on ST4 prefs supports copying over the
%dateformat()% variable now.
------- Comment #4 From Axel Grude 2019-07-28 07:18:56 -------
Resolved Fixed: Version 2.0 - 23/12/2018

First Last Prev Next    No search results available