diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-11-02 12:14:49 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-11-05 11:06:45 +0000 |
| commit | cba4b45cbf7501f7fe5e7ad3662d7ef4fb00c978 (patch) | |
| tree | da46f64b1fc12185d788dbbf6593c8be04232673 /addons/mail/static/src/models/thread_cache | |
| parent | f8651f9d380000d2bdbdafc136ca9c173f6d8742 (diff) | |
[FIX] event: Google & Yahoo calendar link broken
Issue
- Install 'Event' module
- Go to 'Event' and select any event
- Click on "Attendees" stat button
- Click on any attendee ( or create one if not any)
- Confirm ( if not already confirm) registration
- Click on "Send by email"
- Change template to 'Event: Registration' then send
- In the chatter, check Google or Yahoo calendar link
Bad link.
Cause
Wrong 'dt_format' pattern generate a broken datetime value;
current format work with time.strftime() but not 'babel' library.
Solution
Update 'dt_format' pattern to match with babel library since it's the
one used in 'format_datetime' func.
> Note that Babel uses different patterns for specifying number and date formats compared to the Python equivalents (such as time.strftime()), which have mostly been inherited from C and POSIX
ref : http://babel.pocoo.org/en/latest/dates.html#pattern-syntax
opw-2370895
closes odoo/odoo#61387
X-original-commit: ab03fa39c716f717ee78c30e41727a85234b5c9d
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions
