You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Maxim Solodovnik (Jira)" <ji...@apache.org> on 2020/05/07 02:03:00 UTC

[jira] [Comment Edited] (OPENMEETINGS-2334) DateTimeLocal invalid start/end error caused by Canadian am/pm format

    [ https://issues.apache.org/jira/browse/OPENMEETINGS-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101302#comment-17101302 ] 

Maxim Solodovnik edited comment on OPENMEETINGS-2334 at 5/7/20, 2:02 AM:
-------------------------------------------------------------------------

OK,

This issue caused by the fact the date/time format looks like {{yy-MM-dd HH 'h' mm}} for {{fr-CA}}
This {{'h'}} is replaced with value for current hour in JS

UPDATE {{'h'}} should be escaped with {{[ ]}} to work as expected

I'll try to investigate what can be done here

[~sebawagner] here is org.apache.openmeetings.util.TestDateTime date/time playground


was (Author: solomax):
OK,

This issue caused by the fact the date/time format looks like {{yy-MM-dd HH 'h' mm}} for {{fr-CA}}
This {{'h'}} is replaced with value for current hour in JS

I'll try to investigate what can be done here

[~sebawagner] here is org.apache.openmeetings.util.TestDateTime date/time playground

> DateTimeLocal invalid start/end error caused by Canadian am/pm format
> ---------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-2334
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2334
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: Calendar
>    Affects Versions: 5.0.0-M3
>            Reporter: Martin Chamberland
>            Assignee: Maxim Solodovnik
>            Priority: Major
>             Fix For: 5.0.0-M5
>
>         Attachments: openmeetings-bug-calendar-30avril2020-vanille.jpg
>
>
> The original issue is caused by Canadian am/pm format
> It should be: "a.m."/"p.m." but displayed as AM/PM by js library
> This causes invalid start/end error
> Will see what I can do
>  
> There is no issue with Australian tz ....
> You are entering local date/time it is a bit shifted



--
This message was sent by Atlassian Jira
(v8.3.4#803005)