[jira] [Comment Edited] (OPENMEETINGS-2547) Time is incorrect in invitations
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17260288#comment-17260288 ] Ali Alhaidary edited comment on OPENMEETINGS-2547 at 1/7/21, 7:49 AM: -- Thanks :) works as expected, however, the check box for password seems to be in the upper left corner in all three RTL languages. Do you want me to re-translate, or Move the check box next to 'Password' text box ? !Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png! was (Author: ali.alhaidary): Thanks :) works as expected, however, the check box for password seems to be under the label in all three RTL languages. Do you want me to re-translate, or Move the check box next to 'Password' text box ? !Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png! > Time is incorrect in invitations > > > Key: OPENMEETINGS-2547 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2547 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Invitation >Affects Versions: 5.1.0, 6.0.0 >Reporter: Ali Alhaidary >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.0.0 > > Attachments: Screenshot_2020-12-31 النُّجُومُ الخَمْسَةِ (ص).png, > Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png, > image-2020-12-29-18-13-00-979.png > > > When sending an invitation, date is correctly displayed, however, time is > not. Although time zone is correct, but default time is server time not local > time, which creates confusion and invitations expires before its time. see > attached where local time is +3 the one in the default invitation (it should > display 12/29/20, 6:07 PM) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2547) Time is incorrect in invitations
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17260288#comment-17260288 ] Ali Alhaidary commented on OPENMEETINGS-2547: - Thanks :) works as expected, however, the check box for password seems to be under the label in all three RTL languages. Do you want me to re-translate, or Move the check box next to 'Password' text box ? !Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png! > Time is incorrect in invitations > > > Key: OPENMEETINGS-2547 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2547 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Invitation >Affects Versions: 5.1.0, 6.0.0 >Reporter: Ali Alhaidary >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.0.0 > > Attachments: Screenshot_2020-12-31 النُّجُومُ الخَمْسَةِ (ص).png, > Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png, > image-2020-12-29-18-13-00-979.png > > > When sending an invitation, date is correctly displayed, however, time is > not. Although time zone is correct, but default time is server time not local > time, which creates confusion and invitations expires before its time. see > attached where local time is +3 the one in the default invitation (it should > display 12/29/20, 6:07 PM) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (OPENMEETINGS-2547) Time is incorrect in invitations
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ali Alhaidary updated OPENMEETINGS-2547: Attachment: Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png > Time is incorrect in invitations > > > Key: OPENMEETINGS-2547 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2547 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Invitation >Affects Versions: 5.1.0, 6.0.0 >Reporter: Ali Alhaidary >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.0.0 > > Attachments: Screenshot_2020-12-31 النُّجُومُ الخَمْسَةِ (ص).png, > Screenshot_2021-01-07 النُّجُومُ الخَمْسَةِ (ص).png, > image-2020-12-29-18-13-00-979.png > > > When sending an invitation, date is correctly displayed, however, time is > not. Although time zone is correct, but default time is server time not local > time, which creates confusion and invitations expires before its time. see > attached where local time is +3 the one in the default invitation (it should > display 12/29/20, 6:07 PM) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (OPENMEETINGS-2547) Time is incorrect in invitations
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17260234#comment-17260234 ] ASF subversion and git services commented on OPENMEETINGS-2547: --- Commit 6b10fb76f2dba7f77c728488877fc0c3b8f4df8e in openmeetings's branch refs/heads/master from Maxim Solodovnik [ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=6b10fb7 ] [OPENMEETINGS-2547] zoned LocalDateTime is used for invitation > Time is incorrect in invitations > > > Key: OPENMEETINGS-2547 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2547 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Invitation >Affects Versions: 5.1.0, 6.0.0 >Reporter: Ali Alhaidary >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.0.0 > > Attachments: Screenshot_2020-12-31 النُّجُومُ الخَمْسَةِ (ص).png, > image-2020-12-29-18-13-00-979.png > > > When sending an invitation, date is correctly displayed, however, time is > not. Although time zone is correct, but default time is server time not local > time, which creates confusion and invitations expires before its time. see > attached where local time is +3 the one in the default invitation (it should > display 12/29/20, 6:07 PM) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (OPENMEETINGS-2547) Time is incorrect in invitations
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Solodovnik resolved OPENMEETINGS-2547. Fix Version/s: 6.0.0 Resolution: Fixed > Time is incorrect in invitations > > > Key: OPENMEETINGS-2547 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2547 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Invitation >Affects Versions: 5.1.0, 6.0.0 >Reporter: Ali Alhaidary >Assignee: Maxim Solodovnik >Priority: Major > Fix For: 6.0.0 > > Attachments: Screenshot_2020-12-31 النُّجُومُ الخَمْسَةِ (ص).png, > image-2020-12-29-18-13-00-979.png > > > When sending an invitation, date is correctly displayed, however, time is > not. Although time zone is correct, but default time is server time not local > time, which creates confusion and invitations expires before its time. see > attached where local time is +3 the one in the default invitation (it should > display 12/29/20, 6:07 PM) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[openmeetings] branch master updated: [OPENMEETINGS-2547] zoned LocalDateTime is used for invitation
This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git The following commit(s) were added to refs/heads/master by this push: new 6b10fb7 [OPENMEETINGS-2547] zoned LocalDateTime is used for invitation 6b10fb7 is described below commit 6b10fb76f2dba7f77c728488877fc0c3b8f4df8e Author: Maxim Solodovnik AuthorDate: Thu Jan 7 11:59:14 2021 +0700 [OPENMEETINGS-2547] zoned LocalDateTime is used for invitation --- .../java/org/apache/openmeetings/web/common/InvitationForm.java| 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java index 237c5f0..fd8bd00 100644 --- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java +++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/common/InvitationForm.java @@ -23,8 +23,10 @@ import static org.apache.openmeetings.util.CalendarHelper.getDate; import static org.apache.openmeetings.web.app.Application.getInvitationLink; import static org.apache.openmeetings.web.app.WebSession.AVAILABLE_TIMEZONES; import static org.apache.openmeetings.web.app.WebSession.getUserId; +import static org.apache.openmeetings.web.util.CalendarWebHelper.getZoneId; import java.time.LocalDateTime; +import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.Collection; @@ -195,8 +197,9 @@ public abstract class InvitationForm extends Form { User u = userDao.get(getUserId()); i.setInvitedBy(u); i.setRoom(null); - from.setModelObject(LocalDateTime.now()); - to.setModelObject(LocalDateTime.now().plusDays(1)); + LocalDateTime now = ZonedDateTime.now(getZoneId()).toLocalDateTime(); + from.setModelObject(now); + to.setModelObject(now.plusDays(1)); i.setPassword(null); i.setHash(null); subject.setModelObject(null);
[jira] [Reopened] (OPENMEETINGS-2547) Time is incorrect in invitations
[ https://issues.apache.org/jira/browse/OPENMEETINGS-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Solodovnik reopened OPENMEETINGS-2547: seems to be reproducible > Time is incorrect in invitations > > > Key: OPENMEETINGS-2547 > URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2547 > Project: Openmeetings > Issue Type: Bug > Components: Calendar, Invitation >Affects Versions: 5.1.0, 6.0.0 >Reporter: Ali Alhaidary >Assignee: Maxim Solodovnik >Priority: Major > Attachments: Screenshot_2020-12-31 النُّجُومُ الخَمْسَةِ (ص).png, > image-2020-12-29-18-13-00-979.png > > > When sending an invitation, date is correctly displayed, however, time is > not. Although time zone is correct, but default time is server time not local > time, which creates confusion and invitations expires before its time. see > attached where local time is +3 the one in the default invitation (it should > display 12/29/20, 6:07 PM) -- This message was sent by Atlassian Jira (v8.3.4#803005)