Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%datelocal% throws an error and returns a blank space. #206

Closed
RealRaven2000 opened this issue Aug 5, 2022 · 3 comments
Closed

%datelocal% throws an error and returns a blank space. #206

RealRaven2000 opened this issue Aug 5, 2022 · 3 comments
Assignees
Labels

Comments

@RealRaven2000
Copy link
Owner

RealRaven2000 commented Aug 5, 2022

When using %datelocal%, nothing is returned.

In error console we see:

"Uncaught TypeError: can't set option .... when dateStyle is used"

@RealRaven2000 RealRaven2000 self-assigned this Aug 5, 2022
@RealRaven2000
Copy link
Owner Author

Workaround for the moment y- use the dateformat function.

For the date of the replied to / forwarded email - [American Format]:

%X:=sent% %dateformat(A, m/e/Y I:M p)%

for current date use:

%dateformat(A, m/e/Y I:M p)%

there are more examples on the variables tab under the chapter "Variables for customized 'Date format'" :

image

@RealRaven2000
Copy link
Owner Author

It looks like the parameter dateStyle: "full" cannot be used in Intl.DateTimeFormat(..) when other specific switches such as "weekday" or "day" are used.

@RealRaven2000
Copy link
Owner Author

Fixed in 3.13 - released 21/08/2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant