You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Hamdi THABET <ha...@gmail.com> on 2012/04/16 21:23:06 UTC

Réf. : Re: Timezone & Time pb !

What timezone is your client machine? => Win7 x64 - Waterfox x64
What timezone is in the user-profile of your client machine? => GMT+0
What timezone has the server machine? => GMT+0
What timezone is the default timezone specified in the OpenMeetings server?
=> GMT+0
What time is written in your db? => GMT+0 (because I commented all others
timezones in the XML file and I set GMT+0 as default)

I'm in Tunisia, I normally I need the "GMT+1" which I tried before but there
was the same problem in calendar. 
 
 
 

Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
No one knows that code better than you.
Please let me know if you need any help on testing/coding :)

On Tue, Apr 17, 2012 at 15:28, seba.wagner@gmail.com
<se...@gmail.com>wrote:

> I think there are two places to change:
>
> 1)
>
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/lzcalendar/compontents/lzEditCalendarEvent.lzx?view=markup
> Line 105 to 125 calcing the time-diff to UTC and setting the time/date
> using the UTC methods
>
> 2)
>
> http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/lzcalendar/compontents/layouts/dragEvent.lzx?view=markup
> Various lines need refactoring calcing the time-diff to UTC and setting the
> time/date using the UTC methods
>
> Sebastian
>
> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>
> > I have spend quite a while to make everything working with Date objects
> > instead of using strings. I would like to keep that logic. Working with
> > real Date's has some advantages when you really calculate with them.
> >
> >
> > Sebastian
> >
> > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >
> >> The date is entered by user as String: "14:00" it can be passed to the
> >> server as string ...
> >> JS can be used for validation only (without any transformations)
> >>
> >> On Tue, Apr 17, 2012 at 15:00, seba.wagner@gmail.com
> >> <se...@gmail.com>wrote:
> >>
> >> > I don't think that a JavaScript Date can be create in any other
> timezone
> >> > then the default one.
> >> > http://www.w3schools.com/jsref/jsref_obj_date.asp
> >> >
> >> > There is no timezone information, you can only read the offset.
> >> > But you could use the method "setUTCDate" to set the time/date
> >> correctly.
> >> > But you would need to calc the UTC Date/time from the given date/time
> >> all
> >> > save/update event methods in the client.
> >> >
> >> > Sebastian
> >> >
> >> > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >> >
> >> > > Actually there is option to set correct timezone: You can pass date
> as
> >> > > date/string and create valid date object using Calendar
> >> > > with specifying current user TZ.
> >> > > Also Irina told me TZ is set correctly while event editing ...
> >> > >
> >> > > On Tue, Apr 17, 2012 at 14:46, Maxim Solodovnik <
> solomax666@gmail.com
> >> > > >wrote:
> >> > >
> >> > > > client machine timezone is GMT+7
> >> > > >
> >> > > >
> >> > > > On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com <
> >> > > > seba.wagner@gmail.com> wrote:
> >> > > >
> >> > > >> Just let me understand it first :)
> >> > > >>
> >> > > >> 2) default user TZ (GMT+7) (user level: admin)
> >> > > >> 3) another user TZ (GMT-4) (user level: user)
> >> > > >>
> >> > > >> => what is the timezone of the browser? I mean if you create a
> Date
> >> > > Object
> >> > > >> is JavaScript it always will have the timezone of the browser.
> >> There
> >> > is
> >> > > >> also no chance of changing that as JavaScript Date has no
> timezone
> >> > info
> >> > > >> ...
> >> > > >> same as java.util.Date.
> >> > > >> This could be a problem.
> >> > > >>
> >> > > >> Admin or user level has no influence from my point of view.
> >> > > >>
> >> > > >> Sebastian
> >> > > >>
> >> > > >> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >> > > >>
> >> > > >> > OK
> >> > > >> >
> >> > > >> > Here are my steps:
> >> > > >> > 1) server TZ: MSK (GMT+3)
> >> > > >> > 2) default user TZ (GMT+7) (user level: admin)
> >> > > >> > 3) another user TZ (GMT-4) (user level: user)
> >> > > >> >
> >> > > >> > The issue is NOT reproducible for the default admin user
> >> > > >> > The issue is reproducible for "another user"
> >> > > >> >
> >> > > >> > The event created using both "New Event" button and click on
> the
> >> > > >> calendar
> >> > > >> > Default event time is not changed: (always set to be
> 14:00-15:00)
> >> > > >> > The time displayed after creation is 03:00
> >> > > >> >
> >> > > >> > @Sebastian should I handle it? or you going to fix it yourself?
> >> > > >> >
> >> > > >> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
> >> > > >> > <se...@gmail.com>wrote:
> >> > > >> >
> >> > > >> > > ok,
> >> > > >> > >
> >> > > >> > > let me describe you the current process:
> >> > > >> > >
> >> > > >> > > A client in timezone: Moscow (+0400)
> >> > > >> > > A server in timezone: Berlin (+0200)
> >> > > >> > >
> >> > > >> > > The client generates a JavaScript Date Object (always in the
> >> local
> >> > > >> > timezone
> >> > > >> > > of the User)
> >> > > >> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> >> > > >> > > 2) Server will receive a java.util.Date in his local
> timezone:
> >> > > >> > > The server method "saveAppointment" receives a Date Object:
> >> > 14:00:00
> >> > > >> > > 15.04.2012 CEST
> >> > > >> > >
> >> > > >> > > 3) This time is stored in the database (databases have no
> >> timezone
> >> > > >> info,
> >> > > >> > > they only got timestamps, timestamps in database are alwas in
> >> the
> >> > > >> local
> >> > > >> > > timezone of the server and that way need no timezone info).
> >> > > >> > > 4) Time is retrieved from database, client requests the
> >> Calendar
> >> > via
> >> > > >> the
> >> > > >> > > REST WebService, date/time is calculated in the users
> timezone
> >> > > >> > >
> >> > > >> > > Something at 2) seems to be wrong. The rest is fine. It is
> >> strange
> >> > > to
> >> > > >> me
> >> > > >> > as
> >> > > >> > > I have been successfully testing it.
> >> > > >> > >
> >> > > >> > > Sebastian
> >> > > >> > >
> >> > > >> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >> > > >> > >
> >> > > >> > > > I'll try to debug,
> >> > > >> > > >
> >> > > >> > > > Irina seems to be able to reproduce it easily
> >> > > >> > > >
> >> > > >> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> >> > > >> > > > <ba...@gmail.com>wrote:
> >> > > >> > > >
> >> > > >> > > > > myne
> >> > > >> > > > >
> >> > > >> > > > > What timezone is your client machine? => IST gmt + 5.30
> >> > > >> > > > > userprofile ==> IST gmt + 5.30
> >> > > >> > > > > What timezone has the server machine? => Mon Apr 16
> >> 23:55:22
> >> > MDT
> >> > > >> 2012
> >> > > >> > > > > What timezone is the default timezone specified in the
> >> > > >> OpenMeetings
> >> > > >> > > > server?
> >> > > >> > > > > =>Etc/GMT--7
> >> > > >> > > > > What time is written in your db? =>  IST gmt + 5.30
> >> > > >> > > > >
> >> > > >> > > > > -regards
> >> > > >> > > > > baskar
> >> > > >> > > > >
> >> > > >> > > > > What timezone is in the user-profile of your client
> >> machine?
> >> > =>
> >> > > >> GMT+0
> >> > > >> > > > > What timezone has the server machine? => GMT+0
> >> > > >> > > > > What timezone is the default timezone specified in the
> >> > > >> OpenMeetings
> >> > > >> > > > server?
> >> > > >> > > > > => GMT+0
> >> > > >> > > > > What time is written in your db? => GMT+0 (because I
> >> commented
> >> > > all
> >> > > >> > > others
> >> > > >> > > > > timezones in the XML file and I set GMT+0 as default)
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > > > Mon Apr 16 23:55:22 MDT 2012
> >> > > >> > > > >
> >> > > >> > > > >
> >> > > >> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> >> > > >> > > hamdi.thabet86@gmail.com
> >> > > >> > > > > >wrote:
> >> > > >> > > > >
> >> > > >> > > > > >    What timezone is your client machine? => Win7 x64 -
> >> > > Waterfox
> >> > > >> x64
> >> > > >> > > > > >  What timezone is in the user-profile of your client
> >> > machine?
> >> > > =>
> >> > > >> > > GMT+0
> >> > > >> > > > > > What timezone has the server machine? => GMT+0
> >> > > >> > > > > > What timezone is the default timezone specified in the
> >> > > >> OpenMeetings
> >> > > >> > > > > > server? => GMT+0
> >> > > >> > > > > > What time is written in your db? => GMT+0 (because I
> >> > commented
> >> > > >> all
> >> > > >> > > > others
> >> > > >> > > > > > timezones in the XML file and I set GMT+0 as default)
> >> > > >> > > > > >
> >> > > >> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I
> >> tried
> >> > > >> before
> >> > > >> > > but
> >> > > >> > > > > > there was the same problem in calendar.
> >> > > >> > > > > >
> >> > > >> > > > > >
> >> > > >> > > > > >
> >> > > >> > > > > >
> >> > > >> > > > >
> >> > > >> > > >
> >> > > >> > > >
> >> > > >> > > >
> >> > > >> > > > --
> >> > > >> > > > WBR
> >> > > >> > > > Maxim aka solomax
> >> > > >> > > >
> >> > > >> > >
> >> > > >> > >
> >> > > >> > >
> >> > > >> > > --
> >> > > >> > > Sebastian Wagner
> >> > > >> > > https://twitter.com/#!/dead_lock
> >> > > >> > > http://www.openmeetings.de
> >> > > >> > > http://www.webbase-design.de
> >> > > >> > > http://www.wagner-sebastian.com
> >> > > >> > > seba.wagner@gmail.com
> >> > > >> > >
> >> > > >> >
> >> > > >> >
> >> > > >> >
> >> > > >> > --
> >> > > >> > WBR
> >> > > >> > Maxim aka solomax
> >> > > >> >
> >> > > >>
> >> > > >>
> >> > > >>
> >> > > >> --
> >> > > >> Sebastian Wagner
> >> > > >> https://twitter.com/#!/dead_lock
> >> > > >> http://www.openmeetings.de
> >> > > >> http://www.webbase-design.de
> >> > > >> http://www.wagner-sebastian.com
> >> > > >> seba.wagner@gmail.com
> >> > > >>
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > WBR
> >> > > > Maxim aka solomax
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > WBR
> >> > > Maxim aka solomax
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Sebastian Wagner
> >> > https://twitter.com/#!/dead_lock
> >> > http://www.openmeetings.de
> >> > http://www.webbase-design.de
> >> > http://www.wagner-sebastian.com
> >> > seba.wagner@gmail.com
> >> >
> >>
> >>
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >>
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Please retry with:
http://svn.apache.org/viewvc?view=revision&revision=1328828

You need to re-run the installer and re-import the timezones.
Somehow Asia/Dhaka is not a good timezone, I had different results about
the time in Dhaka because it seemed like it depends on the Java Version if
it will use Summer Daylight time or not for Dhaka.
I can see something has changed here too:
http://www.oracle.com/technetwork/java/javase/tzdata-versions-138805.html

Sebastian

2012/4/22 seba.wagner@gmail.com <se...@gmail.com>

> I was able to reproduce the issue.
> https://issues.apache.org/jira/browse/OPENMEETINGS-206
>
> Sebastian
>
>
> 2012/4/20 Maxim Solodovnik <so...@gmail.com>
>
>> Currently i see no timezone issues (latest build from the trunk
>> revision 1328187)
>>
>> 2012/4/19 Maxim Solodovnik <so...@gmail.com>
>>
>> > The issue should be fixed. I'll verify it tomorrow morning
>> > On Apr 19, 2012 10:01 PM, "Baskar Rajendran" <
>> baskar.rajendran@gmail.com>
>> > wrote:
>> >
>> >> Seba
>> >>
>> >> did you try to relook into this issue?
>> >>
>> >> thanks
>> >> baskar
>> >>
>> >> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>> >>
>> >> > Seba
>> >> >
>> >> > Server MDT GMT-6
>> >> > config default timezone - Etc/GMT-7
>> >> >
>> >> > -baskar
>> >> >
>> >> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>> >> >
>> >> > What is the server machines timezone
>> >> >> and what is the timezone that you have put into the Administration >
>> >> >> Configuration default.timezone ?
>> >> >>
>> >> >> Sebastian
>> >> >>
>> >> >> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>> >> >>
>> >> >> > yea this is the error message i get when i try to enter meeting
>> room
>> >> >> > through the calendar event invite link
>> >> >> >
>> >> >> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>> >> >> >
>> >> >> > >  GMT+0530 makes no sense to me.
>> >> >> > > Is there really written down "GMT" ?
>> >> >> > >
>> >> >> > > Sebastian
>> >> >> > >
>> >> >> > > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> >> >> > >
>> >> >> > > > heres the error
>> >> >> > > >
>> >> >> > > > You invitation code is not valid, the code is only valid
>> during
>> >> this
>> >> >> > > > specific date and time:
>> >> >> > > >
>> >> >> > > > Wed Apr 18 11:00:00 GMT+0530 2012
>> >> >> > > >
>> >> >> > > > Wed Apr 18 13:00:00 GMT+0530 2012
>> >> >> > > >
>> >> >> > > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User
>> time
>> >> >> zone
>> >> >> > > > GMT-7
>> >> >> > > >
>> >> >> > > > thanks
>> >> >> > > > baskar
>> >> >> > > >
>> >> >> > > >
>> >> >> > > >
>> >> >> > > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>> >> >> > > >
>> >> >> > > > > Seba
>> >> >> > > > >
>> >> >> > > > > It works fine.. with User timezone IST , Client machine IST
>> &
>> >> >> Server
>> >> >> > > > > Machine  Etc/GMT-7
>> >> >> > > > >
>> >> >> > > > > but i have a use case - need to check if this is  a valid
>> one
>> >> >> > > > >
>> >> >> > > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
>> >> >> > > > > Client machine - IST , the event time in calendar displays
>> IST
>> >> >> Time (
>> >> >> > > > same
>> >> >> > > > > as of created)
>> >> >> > > > > But when i Join with an invite it doesnot allow me to enter
>> @
>> >> IST
>> >> >> > Time
>> >> >> > > > > which event created for.
>> >> >> > > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
>> >> >> > > > >
>> >> >> > > > > Event start time 00:30 IST , END TIME : 01:00 IST while
>> >> joining it
>> >> >> > > > > displays error saying that its valid for 11:30 hOURS TO
>> 12:00
>> >> >> HOURS
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > > > Thanks
>> >> >> > > > > Baskar
>> >> >> > > > >
>> >> >> > > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> >> > > > >
>> >> >> > > > >> Please retest the time zone shift problem with revision
>> >> 1327173
>> >> >> or
>> >> >> > > > later.
>> >> >> > > > >>
>> >> >> > > > >> Finally the date/time are strings like you proposed. There
>> is
>> >> no
>> >> >> way
>> >> >> > > in
>> >> >> > > > >> transforming the date in the client and calculate the time
>> >> shift
>> >> >> > > between
>> >> >> > > > >> the timezones because the time difference not only depends
>> on
>> >> the
>> >> >> > > > timezone
>> >> >> > > > >> but also on Summer Daylight Time. Berlin is sometimes +2
>> and
>> >> >> > sometimes
>> >> >> > > > +1
>> >> >> > > > >> depending on if you have Summer Daylight time or not. By
>> using
>> >> >> > strings
>> >> >> > > > and
>> >> >> > > > >> initializing the date/time with proper timezone server side
>> >> this
>> >> >> > > should
>> >> >> > > > be
>> >> >> > > > >> fixed now .... hopefully finally.
>> >> >> > > > >>
>> >> >> > > > >> Sebastian
>> >> >> > > > >>
>> >> >> > > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> >> > > > >>
>> >> >> > > > >> > *Is this is correct way ? Should the Server Machine
>> >> timezone &
>> >> >> > > default
>> >> >> > > > >> > timezone in openmeetings app be identical?*
>> >> >> > > > >> > => The default timezone is used when nothing else is
>> >> available.
>> >> >> > For
>> >> >> > > > >> > example misconfiguration of client.
>> >> >> > > > >> >
>> >> >> > > > >> > Sebastian
>> >> >> > > > >> >
>> >> >> > > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> >> > > > >> >
>> >> >> > > > >> > Please let me commit a fix tonight and test tomorrow
>> again.
>> >> >> > > > >> >>
>> >> >> > > > >> >> Sebastian
>> >> >> > > > >> >>
>> >> >> > > > >> >>
>> >> >> > > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> >> >> > > > >> >>
>> >> >> > > > >> >>> Seba
>> >> >> > > > >> >>>
>> >> >> > > > >> >>> Help plz..
>> >> >> > > > >> >>>
>> >> >> > > > >> >>> my client machine is IST & Server Machine is MDT ,
>> default
>> >> >> > > timezone
>> >> >> > > > in
>> >> >> > > > >> >>> openmeetings server is IST
>> >> >> > > > >> >>> user timezone is IST
>> >> >> > > > >> >>> when i create a calendar event in client machine it
>> >> converts
>> >> >> to
>> >> >> > > MDT
>> >> >> > > > >> time
>> >> >> > > > >> >>> &
>> >> >> > > > >> >>> schedules an event.
>> >> >> > > > >> >>> Is this is correct way ? Should the Server Machine
>> >> timezone &
>> >> >> > > > default
>> >> >> > > > >> >>> timezone in openmeetings app be identical?
>> >> >> > > > >> >>>
>> >> >> > > > >> >>> Thanks
>> >> >> > > > >> >>> Baskar
>> >> >> > > > >> >>>
>> >> >> > > > >> >>> 2012/4/17 seba.wagner@gmail.com <seba.wagner@gmail.com
>> >
>> >> >> > > > >> >>>
>> >> >> > > > >> >>> > Sorry Hamdi,
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> > there is no chance that we will make the timezone
>> >> settings
>> >> >> > > > optional.
>> >> >> > > > >> >>> > Maybe there is a chance of have a better default
>> >> selection
>> >> >> for
>> >> >> > > the
>> >> >> > > > >> >>> timezone
>> >> >> > > > >> >>> > but it is not possible to remove the timezone.
>> >> >> > > > >> >>> > A Date/time always has a timezone. Just because you
>> >> think
>> >> >> its
>> >> >> > > > >> useless
>> >> >> > > > >> >>> and
>> >> >> > > > >> >>> > want to ignore it, does not mean that it will not
>> exist
>> >> :)
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> > Sebastian
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> > >    I don't know why we need to use timezones when
>> we
>> >> are
>> >> >> in
>> >> >> > > the
>> >> >> > > > >> same
>> >> >> > > > >> >>> > > country.
>> >> >> > > > >> >>> > > It'll be better to set it as optional and we can
>> sent
>> >> the
>> >> >> > > > >> difference
>> >> >> > > > >> >>> > > between timezones in the invitation email.
>> >> >> > > > >> >>> > > It can be simpler if all users are in the same
>> >> country !
>> >> >> > > > >> >>> > >
>> >> >> > > > >> >>> > >
>> >> >> > > > >> >>> > > This is what a screenshot from my machine >>
>> >> >> > > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
>> >> >> > > > >> >>> > >
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>> > --
>> >> >> > > > >> >>> > Sebastian Wagner
>> >> >> > > > >> >>> > https://twitter.com/#!/dead_lock
>> >> >> > > > >> >>> > http://www.openmeetings.de
>> >> >> > > > >> >>> > http://www.webbase-design.de
>> >> >> > > > >> >>> > http://www.wagner-sebastian.com
>> >> >> > > > >> >>> > seba.wagner@gmail.com
>> >> >> > > > >> >>> >
>> >> >> > > > >> >>>
>> >> >> > > > >> >>
>> >> >> > > > >> >>
>> >> >> > > > >> >>
>> >> >> > > > >> >> --
>> >> >> > > > >> >> Sebastian Wagner
>> >> >> > > > >> >> https://twitter.com/#!/dead_lock
>> >> >> > > > >> >> http://www.openmeetings.de
>> >> >> > > > >> >> http://www.webbase-design.de
>> >> >> > > > >> >> http://www.wagner-sebastian.com
>> >> >> > > > >> >> seba.wagner@gmail.com
>> >> >> > > > >> >>
>> >> >> > > > >> >
>> >> >> > > > >> >
>> >> >> > > > >> >
>> >> >> > > > >> > --
>> >> >> > > > >> > Sebastian Wagner
>> >> >> > > > >> > https://twitter.com/#!/dead_lock
>> >> >> > > > >> > http://www.openmeetings.de
>> >> >> > > > >> > http://www.webbase-design.de
>> >> >> > > > >> > http://www.wagner-sebastian.com
>> >> >> > > > >> > seba.wagner@gmail.com
>> >> >> > > > >> >
>> >> >> > > > >>
>> >> >> > > > >>
>> >> >> > > > >>
>> >> >> > > > >> --
>> >> >> > > > >> Sebastian Wagner
>> >> >> > > > >> https://twitter.com/#!/dead_lock
>> >> >> > > > >> http://www.openmeetings.de
>> >> >> > > > >> http://www.webbase-design.de
>> >> >> > > > >> http://www.wagner-sebastian.com
>> >> >> > > > >> seba.wagner@gmail.com
>> >> >> > > > >>
>> >> >> > > > >
>> >> >> > > > >
>> >> >> > > >
>> >> >> > >
>> >> >> > >
>> >> >> > >
>> >> >> > > --
>> >> >> > > Sebastian Wagner
>> >> >> > > https://twitter.com/#!/dead_lock
>> >> >> > > http://www.openmeetings.de
>> >> >> > > http://www.webbase-design.de
>> >> >> > > http://www.wagner-sebastian.com
>> >> >> > > seba.wagner@gmail.com
>> >> >> > >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Sebastian Wagner
>> >> >> https://twitter.com/#!/dead_lock
>> >> >> http://www.openmeetings.de
>> >> >> http://www.webbase-design.de
>> >> >> http://www.wagner-sebastian.com
>> >> >> seba.wagner@gmail.com
>> >> >>
>> >> >
>> >> >
>> >>
>> >
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I was able to reproduce the issue.
https://issues.apache.org/jira/browse/OPENMEETINGS-206

Sebastian

2012/4/20 Maxim Solodovnik <so...@gmail.com>

> Currently i see no timezone issues (latest build from the trunk
> revision 1328187)
>
> 2012/4/19 Maxim Solodovnik <so...@gmail.com>
>
> > The issue should be fixed. I'll verify it tomorrow morning
> > On Apr 19, 2012 10:01 PM, "Baskar Rajendran" <baskar.rajendran@gmail.com
> >
> > wrote:
> >
> >> Seba
> >>
> >> did you try to relook into this issue?
> >>
> >> thanks
> >> baskar
> >>
> >> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> >>
> >> > Seba
> >> >
> >> > Server MDT GMT-6
> >> > config default timezone - Etc/GMT-7
> >> >
> >> > -baskar
> >> >
> >> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
> >> >
> >> > What is the server machines timezone
> >> >> and what is the timezone that you have put into the Administration >
> >> >> Configuration default.timezone ?
> >> >>
> >> >> Sebastian
> >> >>
> >> >> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> >> >>
> >> >> > yea this is the error message i get when i try to enter meeting
> room
> >> >> > through the calendar event invite link
> >> >> >
> >> >> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
> >> >> >
> >> >> > >  GMT+0530 makes no sense to me.
> >> >> > > Is there really written down "GMT" ?
> >> >> > >
> >> >> > > Sebastian
> >> >> > >
> >> >> > > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >> >> > >
> >> >> > > > heres the error
> >> >> > > >
> >> >> > > > You invitation code is not valid, the code is only valid during
> >> this
> >> >> > > > specific date and time:
> >> >> > > >
> >> >> > > > Wed Apr 18 11:00:00 GMT+0530 2012
> >> >> > > >
> >> >> > > > Wed Apr 18 13:00:00 GMT+0530 2012
> >> >> > > >
> >> >> > > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User
> time
> >> >> zone
> >> >> > > > GMT-7
> >> >> > > >
> >> >> > > > thanks
> >> >> > > > baskar
> >> >> > > >
> >> >> > > >
> >> >> > > >
> >> >> > > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> >> >> > > >
> >> >> > > > > Seba
> >> >> > > > >
> >> >> > > > > It works fine.. with User timezone IST , Client machine IST &
> >> >> Server
> >> >> > > > > Machine  Etc/GMT-7
> >> >> > > > >
> >> >> > > > > but i have a use case - need to check if this is  a valid one
> >> >> > > > >
> >> >> > > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> >> >> > > > > Client machine - IST , the event time in calendar displays
> IST
> >> >> Time (
> >> >> > > > same
> >> >> > > > > as of created)
> >> >> > > > > But when i Join with an invite it doesnot allow me to enter @
> >> IST
> >> >> > Time
> >> >> > > > > which event created for.
> >> >> > > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
> >> >> > > > >
> >> >> > > > > Event start time 00:30 IST , END TIME : 01:00 IST while
> >> joining it
> >> >> > > > > displays error saying that its valid for 11:30 hOURS TO 12:00
> >> >> HOURS
> >> >> > > > >
> >> >> > > > >
> >> >> > > > >
> >> >> > > > > Thanks
> >> >> > > > > Baskar
> >> >> > > > >
> >> >> > > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> >> > > > >
> >> >> > > > >> Please retest the time zone shift problem with revision
> >> 1327173
> >> >> or
> >> >> > > > later.
> >> >> > > > >>
> >> >> > > > >> Finally the date/time are strings like you proposed. There
> is
> >> no
> >> >> way
> >> >> > > in
> >> >> > > > >> transforming the date in the client and calculate the time
> >> shift
> >> >> > > between
> >> >> > > > >> the timezones because the time difference not only depends
> on
> >> the
> >> >> > > > timezone
> >> >> > > > >> but also on Summer Daylight Time. Berlin is sometimes +2 and
> >> >> > sometimes
> >> >> > > > +1
> >> >> > > > >> depending on if you have Summer Daylight time or not. By
> using
> >> >> > strings
> >> >> > > > and
> >> >> > > > >> initializing the date/time with proper timezone server side
> >> this
> >> >> > > should
> >> >> > > > be
> >> >> > > > >> fixed now .... hopefully finally.
> >> >> > > > >>
> >> >> > > > >> Sebastian
> >> >> > > > >>
> >> >> > > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> >> > > > >>
> >> >> > > > >> > *Is this is correct way ? Should the Server Machine
> >> timezone &
> >> >> > > default
> >> >> > > > >> > timezone in openmeetings app be identical?*
> >> >> > > > >> > => The default timezone is used when nothing else is
> >> available.
> >> >> > For
> >> >> > > > >> > example misconfiguration of client.
> >> >> > > > >> >
> >> >> > > > >> > Sebastian
> >> >> > > > >> >
> >> >> > > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> >> > > > >> >
> >> >> > > > >> > Please let me commit a fix tonight and test tomorrow
> again.
> >> >> > > > >> >>
> >> >> > > > >> >> Sebastian
> >> >> > > > >> >>
> >> >> > > > >> >>
> >> >> > > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >> >> > > > >> >>
> >> >> > > > >> >>> Seba
> >> >> > > > >> >>>
> >> >> > > > >> >>> Help plz..
> >> >> > > > >> >>>
> >> >> > > > >> >>> my client machine is IST & Server Machine is MDT ,
> default
> >> >> > > timezone
> >> >> > > > in
> >> >> > > > >> >>> openmeetings server is IST
> >> >> > > > >> >>> user timezone is IST
> >> >> > > > >> >>> when i create a calendar event in client machine it
> >> converts
> >> >> to
> >> >> > > MDT
> >> >> > > > >> time
> >> >> > > > >> >>> &
> >> >> > > > >> >>> schedules an event.
> >> >> > > > >> >>> Is this is correct way ? Should the Server Machine
> >> timezone &
> >> >> > > > default
> >> >> > > > >> >>> timezone in openmeetings app be identical?
> >> >> > > > >> >>>
> >> >> > > > >> >>> Thanks
> >> >> > > > >> >>> Baskar
> >> >> > > > >> >>>
> >> >> > > > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> >> > > > >> >>>
> >> >> > > > >> >>> > Sorry Hamdi,
> >> >> > > > >> >>> >
> >> >> > > > >> >>> > there is no chance that we will make the timezone
> >> settings
> >> >> > > > optional.
> >> >> > > > >> >>> > Maybe there is a chance of have a better default
> >> selection
> >> >> for
> >> >> > > the
> >> >> > > > >> >>> timezone
> >> >> > > > >> >>> > but it is not possible to remove the timezone.
> >> >> > > > >> >>> > A Date/time always has a timezone. Just because you
> >> think
> >> >> its
> >> >> > > > >> useless
> >> >> > > > >> >>> and
> >> >> > > > >> >>> > want to ignore it, does not mean that it will not
> exist
> >> :)
> >> >> > > > >> >>> >
> >> >> > > > >> >>> > Sebastian
> >> >> > > > >> >>> >
> >> >> > > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> >> >> > > > >> >>> >
> >> >> > > > >> >>> > >    I don't know why we need to use timezones when we
> >> are
> >> >> in
> >> >> > > the
> >> >> > > > >> same
> >> >> > > > >> >>> > > country.
> >> >> > > > >> >>> > > It'll be better to set it as optional and we can
> sent
> >> the
> >> >> > > > >> difference
> >> >> > > > >> >>> > > between timezones in the invitation email.
> >> >> > > > >> >>> > > It can be simpler if all users are in the same
> >> country !
> >> >> > > > >> >>> > >
> >> >> > > > >> >>> > >
> >> >> > > > >> >>> > > This is what a screenshot from my machine >>
> >> >> > > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> >> >> > > > >> >>> > >
> >> >> > > > >> >>> >
> >> >> > > > >> >>> >
> >> >> > > > >> >>> >
> >> >> > > > >> >>> > --
> >> >> > > > >> >>> > Sebastian Wagner
> >> >> > > > >> >>> > https://twitter.com/#!/dead_lock
> >> >> > > > >> >>> > http://www.openmeetings.de
> >> >> > > > >> >>> > http://www.webbase-design.de
> >> >> > > > >> >>> > http://www.wagner-sebastian.com
> >> >> > > > >> >>> > seba.wagner@gmail.com
> >> >> > > > >> >>> >
> >> >> > > > >> >>>
> >> >> > > > >> >>
> >> >> > > > >> >>
> >> >> > > > >> >>
> >> >> > > > >> >> --
> >> >> > > > >> >> Sebastian Wagner
> >> >> > > > >> >> https://twitter.com/#!/dead_lock
> >> >> > > > >> >> http://www.openmeetings.de
> >> >> > > > >> >> http://www.webbase-design.de
> >> >> > > > >> >> http://www.wagner-sebastian.com
> >> >> > > > >> >> seba.wagner@gmail.com
> >> >> > > > >> >>
> >> >> > > > >> >
> >> >> > > > >> >
> >> >> > > > >> >
> >> >> > > > >> > --
> >> >> > > > >> > Sebastian Wagner
> >> >> > > > >> > https://twitter.com/#!/dead_lock
> >> >> > > > >> > http://www.openmeetings.de
> >> >> > > > >> > http://www.webbase-design.de
> >> >> > > > >> > http://www.wagner-sebastian.com
> >> >> > > > >> > seba.wagner@gmail.com
> >> >> > > > >> >
> >> >> > > > >>
> >> >> > > > >>
> >> >> > > > >>
> >> >> > > > >> --
> >> >> > > > >> Sebastian Wagner
> >> >> > > > >> https://twitter.com/#!/dead_lock
> >> >> > > > >> http://www.openmeetings.de
> >> >> > > > >> http://www.webbase-design.de
> >> >> > > > >> http://www.wagner-sebastian.com
> >> >> > > > >> seba.wagner@gmail.com
> >> >> > > > >>
> >> >> > > > >
> >> >> > > > >
> >> >> > > >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > --
> >> >> > > Sebastian Wagner
> >> >> > > https://twitter.com/#!/dead_lock
> >> >> > > http://www.openmeetings.de
> >> >> > > http://www.webbase-design.de
> >> >> > > http://www.wagner-sebastian.com
> >> >> > > seba.wagner@gmail.com
> >> >> > >
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Sebastian Wagner
> >> >> https://twitter.com/#!/dead_lock
> >> >> http://www.openmeetings.de
> >> >> http://www.webbase-design.de
> >> >> http://www.wagner-sebastian.com
> >> >> seba.wagner@gmail.com
> >> >>
> >> >
> >> >
> >>
> >
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
Currently i see no timezone issues (latest build from the trunk
revision 1328187)

2012/4/19 Maxim Solodovnik <so...@gmail.com>

> The issue should be fixed. I'll verify it tomorrow morning
> On Apr 19, 2012 10:01 PM, "Baskar Rajendran" <ba...@gmail.com>
> wrote:
>
>> Seba
>>
>> did you try to relook into this issue?
>>
>> thanks
>> baskar
>>
>> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>>
>> > Seba
>> >
>> > Server MDT GMT-6
>> > config default timezone - Etc/GMT-7
>> >
>> > -baskar
>> >
>> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>> >
>> > What is the server machines timezone
>> >> and what is the timezone that you have put into the Administration >
>> >> Configuration default.timezone ?
>> >>
>> >> Sebastian
>> >>
>> >> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>> >>
>> >> > yea this is the error message i get when i try to enter meeting room
>> >> > through the calendar event invite link
>> >> >
>> >> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>> >> >
>> >> > >  GMT+0530 makes no sense to me.
>> >> > > Is there really written down "GMT" ?
>> >> > >
>> >> > > Sebastian
>> >> > >
>> >> > > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> >> > >
>> >> > > > heres the error
>> >> > > >
>> >> > > > You invitation code is not valid, the code is only valid during
>> this
>> >> > > > specific date and time:
>> >> > > >
>> >> > > > Wed Apr 18 11:00:00 GMT+0530 2012
>> >> > > >
>> >> > > > Wed Apr 18 13:00:00 GMT+0530 2012
>> >> > > >
>> >> > > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time
>> >> zone
>> >> > > > GMT-7
>> >> > > >
>> >> > > > thanks
>> >> > > > baskar
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>> >> > > >
>> >> > > > > Seba
>> >> > > > >
>> >> > > > > It works fine.. with User timezone IST , Client machine IST &
>> >> Server
>> >> > > > > Machine  Etc/GMT-7
>> >> > > > >
>> >> > > > > but i have a use case - need to check if this is  a valid one
>> >> > > > >
>> >> > > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
>> >> > > > > Client machine - IST , the event time in calendar displays IST
>> >> Time (
>> >> > > > same
>> >> > > > > as of created)
>> >> > > > > But when i Join with an invite it doesnot allow me to enter @
>> IST
>> >> > Time
>> >> > > > > which event created for.
>> >> > > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
>> >> > > > >
>> >> > > > > Event start time 00:30 IST , END TIME : 01:00 IST while
>> joining it
>> >> > > > > displays error saying that its valid for 11:30 hOURS TO 12:00
>> >> HOURS
>> >> > > > >
>> >> > > > >
>> >> > > > >
>> >> > > > > Thanks
>> >> > > > > Baskar
>> >> > > > >
>> >> > > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> > > > >
>> >> > > > >> Please retest the time zone shift problem with revision
>> 1327173
>> >> or
>> >> > > > later.
>> >> > > > >>
>> >> > > > >> Finally the date/time are strings like you proposed. There is
>> no
>> >> way
>> >> > > in
>> >> > > > >> transforming the date in the client and calculate the time
>> shift
>> >> > > between
>> >> > > > >> the timezones because the time difference not only depends on
>> the
>> >> > > > timezone
>> >> > > > >> but also on Summer Daylight Time. Berlin is sometimes +2 and
>> >> > sometimes
>> >> > > > +1
>> >> > > > >> depending on if you have Summer Daylight time or not. By using
>> >> > strings
>> >> > > > and
>> >> > > > >> initializing the date/time with proper timezone server side
>> this
>> >> > > should
>> >> > > > be
>> >> > > > >> fixed now .... hopefully finally.
>> >> > > > >>
>> >> > > > >> Sebastian
>> >> > > > >>
>> >> > > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> > > > >>
>> >> > > > >> > *Is this is correct way ? Should the Server Machine
>> timezone &
>> >> > > default
>> >> > > > >> > timezone in openmeetings app be identical?*
>> >> > > > >> > => The default timezone is used when nothing else is
>> available.
>> >> > For
>> >> > > > >> > example misconfiguration of client.
>> >> > > > >> >
>> >> > > > >> > Sebastian
>> >> > > > >> >
>> >> > > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> > > > >> >
>> >> > > > >> > Please let me commit a fix tonight and test tomorrow again.
>> >> > > > >> >>
>> >> > > > >> >> Sebastian
>> >> > > > >> >>
>> >> > > > >> >>
>> >> > > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> >> > > > >> >>
>> >> > > > >> >>> Seba
>> >> > > > >> >>>
>> >> > > > >> >>> Help plz..
>> >> > > > >> >>>
>> >> > > > >> >>> my client machine is IST & Server Machine is MDT , default
>> >> > > timezone
>> >> > > > in
>> >> > > > >> >>> openmeetings server is IST
>> >> > > > >> >>> user timezone is IST
>> >> > > > >> >>> when i create a calendar event in client machine it
>> converts
>> >> to
>> >> > > MDT
>> >> > > > >> time
>> >> > > > >> >>> &
>> >> > > > >> >>> schedules an event.
>> >> > > > >> >>> Is this is correct way ? Should the Server Machine
>> timezone &
>> >> > > > default
>> >> > > > >> >>> timezone in openmeetings app be identical?
>> >> > > > >> >>>
>> >> > > > >> >>> Thanks
>> >> > > > >> >>> Baskar
>> >> > > > >> >>>
>> >> > > > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >> > > > >> >>>
>> >> > > > >> >>> > Sorry Hamdi,
>> >> > > > >> >>> >
>> >> > > > >> >>> > there is no chance that we will make the timezone
>> settings
>> >> > > > optional.
>> >> > > > >> >>> > Maybe there is a chance of have a better default
>> selection
>> >> for
>> >> > > the
>> >> > > > >> >>> timezone
>> >> > > > >> >>> > but it is not possible to remove the timezone.
>> >> > > > >> >>> > A Date/time always has a timezone. Just because you
>> think
>> >> its
>> >> > > > >> useless
>> >> > > > >> >>> and
>> >> > > > >> >>> > want to ignore it, does not mean that it will not exist
>> :)
>> >> > > > >> >>> >
>> >> > > > >> >>> > Sebastian
>> >> > > > >> >>> >
>> >> > > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
>> >> > > > >> >>> >
>> >> > > > >> >>> > >    I don't know why we need to use timezones when we
>> are
>> >> in
>> >> > > the
>> >> > > > >> same
>> >> > > > >> >>> > > country.
>> >> > > > >> >>> > > It'll be better to set it as optional and we can sent
>> the
>> >> > > > >> difference
>> >> > > > >> >>> > > between timezones in the invitation email.
>> >> > > > >> >>> > > It can be simpler if all users are in the same
>> country !
>> >> > > > >> >>> > >
>> >> > > > >> >>> > >
>> >> > > > >> >>> > > This is what a screenshot from my machine >>
>> >> > > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
>> >> > > > >> >>> > >
>> >> > > > >> >>> >
>> >> > > > >> >>> >
>> >> > > > >> >>> >
>> >> > > > >> >>> > --
>> >> > > > >> >>> > Sebastian Wagner
>> >> > > > >> >>> > https://twitter.com/#!/dead_lock
>> >> > > > >> >>> > http://www.openmeetings.de
>> >> > > > >> >>> > http://www.webbase-design.de
>> >> > > > >> >>> > http://www.wagner-sebastian.com
>> >> > > > >> >>> > seba.wagner@gmail.com
>> >> > > > >> >>> >
>> >> > > > >> >>>
>> >> > > > >> >>
>> >> > > > >> >>
>> >> > > > >> >>
>> >> > > > >> >> --
>> >> > > > >> >> Sebastian Wagner
>> >> > > > >> >> https://twitter.com/#!/dead_lock
>> >> > > > >> >> http://www.openmeetings.de
>> >> > > > >> >> http://www.webbase-design.de
>> >> > > > >> >> http://www.wagner-sebastian.com
>> >> > > > >> >> seba.wagner@gmail.com
>> >> > > > >> >>
>> >> > > > >> >
>> >> > > > >> >
>> >> > > > >> >
>> >> > > > >> > --
>> >> > > > >> > Sebastian Wagner
>> >> > > > >> > https://twitter.com/#!/dead_lock
>> >> > > > >> > http://www.openmeetings.de
>> >> > > > >> > http://www.webbase-design.de
>> >> > > > >> > http://www.wagner-sebastian.com
>> >> > > > >> > seba.wagner@gmail.com
>> >> > > > >> >
>> >> > > > >>
>> >> > > > >>
>> >> > > > >>
>> >> > > > >> --
>> >> > > > >> Sebastian Wagner
>> >> > > > >> https://twitter.com/#!/dead_lock
>> >> > > > >> http://www.openmeetings.de
>> >> > > > >> http://www.webbase-design.de
>> >> > > > >> http://www.wagner-sebastian.com
>> >> > > > >> seba.wagner@gmail.com
>> >> > > > >>
>> >> > > > >
>> >> > > > >
>> >> > > >
>> >> > >
>> >> > >
>> >> > >
>> >> > > --
>> >> > > Sebastian Wagner
>> >> > > https://twitter.com/#!/dead_lock
>> >> > > http://www.openmeetings.de
>> >> > > http://www.webbase-design.de
>> >> > > http://www.wagner-sebastian.com
>> >> > > seba.wagner@gmail.com
>> >> > >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Sebastian Wagner
>> >> https://twitter.com/#!/dead_lock
>> >> http://www.openmeetings.de
>> >> http://www.webbase-design.de
>> >> http://www.wagner-sebastian.com
>> >> seba.wagner@gmail.com
>> >>
>> >
>> >
>>
>


-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
The issue should be fixed. I'll verify it tomorrow morning
On Apr 19, 2012 10:01 PM, "Baskar Rajendran" <ba...@gmail.com>
wrote:

> Seba
>
> did you try to relook into this issue?
>
> thanks
> baskar
>
> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>
> > Seba
> >
> > Server MDT GMT-6
> > config default timezone - Etc/GMT-7
> >
> > -baskar
> >
> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
> >
> > What is the server machines timezone
> >> and what is the timezone that you have put into the Administration >
> >> Configuration default.timezone ?
> >>
> >> Sebastian
> >>
> >> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> >>
> >> > yea this is the error message i get when i try to enter meeting room
> >> > through the calendar event invite link
> >> >
> >> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
> >> >
> >> > >  GMT+0530 makes no sense to me.
> >> > > Is there really written down "GMT" ?
> >> > >
> >> > > Sebastian
> >> > >
> >> > > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >> > >
> >> > > > heres the error
> >> > > >
> >> > > > You invitation code is not valid, the code is only valid during
> this
> >> > > > specific date and time:
> >> > > >
> >> > > > Wed Apr 18 11:00:00 GMT+0530 2012
> >> > > >
> >> > > > Wed Apr 18 13:00:00 GMT+0530 2012
> >> > > >
> >> > > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time
> >> zone
> >> > > > GMT-7
> >> > > >
> >> > > > thanks
> >> > > > baskar
> >> > > >
> >> > > >
> >> > > >
> >> > > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> >> > > >
> >> > > > > Seba
> >> > > > >
> >> > > > > It works fine.. with User timezone IST , Client machine IST &
> >> Server
> >> > > > > Machine  Etc/GMT-7
> >> > > > >
> >> > > > > but i have a use case - need to check if this is  a valid one
> >> > > > >
> >> > > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> >> > > > > Client machine - IST , the event time in calendar displays IST
> >> Time (
> >> > > > same
> >> > > > > as of created)
> >> > > > > But when i Join with an invite it doesnot allow me to enter @
> IST
> >> > Time
> >> > > > > which event created for.
> >> > > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
> >> > > > >
> >> > > > > Event start time 00:30 IST , END TIME : 01:00 IST while joining
> it
> >> > > > > displays error saying that its valid for 11:30 hOURS TO 12:00
> >> HOURS
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > Thanks
> >> > > > > Baskar
> >> > > > >
> >> > > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> > > > >
> >> > > > >> Please retest the time zone shift problem with revision 1327173
> >> or
> >> > > > later.
> >> > > > >>
> >> > > > >> Finally the date/time are strings like you proposed. There is
> no
> >> way
> >> > > in
> >> > > > >> transforming the date in the client and calculate the time
> shift
> >> > > between
> >> > > > >> the timezones because the time difference not only depends on
> the
> >> > > > timezone
> >> > > > >> but also on Summer Daylight Time. Berlin is sometimes +2 and
> >> > sometimes
> >> > > > +1
> >> > > > >> depending on if you have Summer Daylight time or not. By using
> >> > strings
> >> > > > and
> >> > > > >> initializing the date/time with proper timezone server side
> this
> >> > > should
> >> > > > be
> >> > > > >> fixed now .... hopefully finally.
> >> > > > >>
> >> > > > >> Sebastian
> >> > > > >>
> >> > > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> > > > >>
> >> > > > >> > *Is this is correct way ? Should the Server Machine timezone
> &
> >> > > default
> >> > > > >> > timezone in openmeetings app be identical?*
> >> > > > >> > => The default timezone is used when nothing else is
> available.
> >> > For
> >> > > > >> > example misconfiguration of client.
> >> > > > >> >
> >> > > > >> > Sebastian
> >> > > > >> >
> >> > > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> > > > >> >
> >> > > > >> > Please let me commit a fix tonight and test tomorrow again.
> >> > > > >> >>
> >> > > > >> >> Sebastian
> >> > > > >> >>
> >> > > > >> >>
> >> > > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >> > > > >> >>
> >> > > > >> >>> Seba
> >> > > > >> >>>
> >> > > > >> >>> Help plz..
> >> > > > >> >>>
> >> > > > >> >>> my client machine is IST & Server Machine is MDT , default
> >> > > timezone
> >> > > > in
> >> > > > >> >>> openmeetings server is IST
> >> > > > >> >>> user timezone is IST
> >> > > > >> >>> when i create a calendar event in client machine it
> converts
> >> to
> >> > > MDT
> >> > > > >> time
> >> > > > >> >>> &
> >> > > > >> >>> schedules an event.
> >> > > > >> >>> Is this is correct way ? Should the Server Machine
> timezone &
> >> > > > default
> >> > > > >> >>> timezone in openmeetings app be identical?
> >> > > > >> >>>
> >> > > > >> >>> Thanks
> >> > > > >> >>> Baskar
> >> > > > >> >>>
> >> > > > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> > > > >> >>>
> >> > > > >> >>> > Sorry Hamdi,
> >> > > > >> >>> >
> >> > > > >> >>> > there is no chance that we will make the timezone
> settings
> >> > > > optional.
> >> > > > >> >>> > Maybe there is a chance of have a better default
> selection
> >> for
> >> > > the
> >> > > > >> >>> timezone
> >> > > > >> >>> > but it is not possible to remove the timezone.
> >> > > > >> >>> > A Date/time always has a timezone. Just because you think
> >> its
> >> > > > >> useless
> >> > > > >> >>> and
> >> > > > >> >>> > want to ignore it, does not mean that it will not exist
> :)
> >> > > > >> >>> >
> >> > > > >> >>> > Sebastian
> >> > > > >> >>> >
> >> > > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> >> > > > >> >>> >
> >> > > > >> >>> > >    I don't know why we need to use timezones when we
> are
> >> in
> >> > > the
> >> > > > >> same
> >> > > > >> >>> > > country.
> >> > > > >> >>> > > It'll be better to set it as optional and we can sent
> the
> >> > > > >> difference
> >> > > > >> >>> > > between timezones in the invitation email.
> >> > > > >> >>> > > It can be simpler if all users are in the same country
> !
> >> > > > >> >>> > >
> >> > > > >> >>> > >
> >> > > > >> >>> > > This is what a screenshot from my machine >>
> >> > > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> >> > > > >> >>> > >
> >> > > > >> >>> >
> >> > > > >> >>> >
> >> > > > >> >>> >
> >> > > > >> >>> > --
> >> > > > >> >>> > Sebastian Wagner
> >> > > > >> >>> > https://twitter.com/#!/dead_lock
> >> > > > >> >>> > http://www.openmeetings.de
> >> > > > >> >>> > http://www.webbase-design.de
> >> > > > >> >>> > http://www.wagner-sebastian.com
> >> > > > >> >>> > seba.wagner@gmail.com
> >> > > > >> >>> >
> >> > > > >> >>>
> >> > > > >> >>
> >> > > > >> >>
> >> > > > >> >>
> >> > > > >> >> --
> >> > > > >> >> Sebastian Wagner
> >> > > > >> >> https://twitter.com/#!/dead_lock
> >> > > > >> >> http://www.openmeetings.de
> >> > > > >> >> http://www.webbase-design.de
> >> > > > >> >> http://www.wagner-sebastian.com
> >> > > > >> >> seba.wagner@gmail.com
> >> > > > >> >>
> >> > > > >> >
> >> > > > >> >
> >> > > > >> >
> >> > > > >> > --
> >> > > > >> > Sebastian Wagner
> >> > > > >> > https://twitter.com/#!/dead_lock
> >> > > > >> > http://www.openmeetings.de
> >> > > > >> > http://www.webbase-design.de
> >> > > > >> > http://www.wagner-sebastian.com
> >> > > > >> > seba.wagner@gmail.com
> >> > > > >> >
> >> > > > >>
> >> > > > >>
> >> > > > >>
> >> > > > >> --
> >> > > > >> Sebastian Wagner
> >> > > > >> https://twitter.com/#!/dead_lock
> >> > > > >> http://www.openmeetings.de
> >> > > > >> http://www.webbase-design.de
> >> > > > >> http://www.wagner-sebastian.com
> >> > > > >> seba.wagner@gmail.com
> >> > > > >>
> >> > > > >
> >> > > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Sebastian Wagner
> >> > > https://twitter.com/#!/dead_lock
> >> > > http://www.openmeetings.de
> >> > > http://www.webbase-design.de
> >> > > http://www.wagner-sebastian.com
> >> > > seba.wagner@gmail.com
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.openmeetings.de
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> seba.wagner@gmail.com
> >>
> >
> >
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
Seba

did you try to relook into this issue?

thanks
baskar

2012/4/18 Baskar Rajendran <ba...@gmail.com>

> Seba
>
> Server MDT GMT-6
> config default timezone - Etc/GMT-7
>
> -baskar
>
> 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>
> What is the server machines timezone
>> and what is the timezone that you have put into the Administration >
>> Configuration default.timezone ?
>>
>> Sebastian
>>
>> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>>
>> > yea this is the error message i get when i try to enter meeting room
>> > through the calendar event invite link
>> >
>> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>> >
>> > >  GMT+0530 makes no sense to me.
>> > > Is there really written down "GMT" ?
>> > >
>> > > Sebastian
>> > >
>> > > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> > >
>> > > > heres the error
>> > > >
>> > > > You invitation code is not valid, the code is only valid during this
>> > > > specific date and time:
>> > > >
>> > > > Wed Apr 18 11:00:00 GMT+0530 2012
>> > > >
>> > > > Wed Apr 18 13:00:00 GMT+0530 2012
>> > > >
>> > > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time
>> zone
>> > > > GMT-7
>> > > >
>> > > > thanks
>> > > > baskar
>> > > >
>> > > >
>> > > >
>> > > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>> > > >
>> > > > > Seba
>> > > > >
>> > > > > It works fine.. with User timezone IST , Client machine IST &
>> Server
>> > > > > Machine  Etc/GMT-7
>> > > > >
>> > > > > but i have a use case - need to check if this is  a valid one
>> > > > >
>> > > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
>> > > > > Client machine - IST , the event time in calendar displays IST
>> Time (
>> > > > same
>> > > > > as of created)
>> > > > > But when i Join with an invite it doesnot allow me to enter @ IST
>> > Time
>> > > > > which event created for.
>> > > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
>> > > > >
>> > > > > Event start time 00:30 IST , END TIME : 01:00 IST while joining it
>> > > > > displays error saying that its valid for 11:30 hOURS TO 12:00
>> HOURS
>> > > > >
>> > > > >
>> > > > >
>> > > > > Thanks
>> > > > > Baskar
>> > > > >
>> > > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> > > > >
>> > > > >> Please retest the time zone shift problem with revision 1327173
>> or
>> > > > later.
>> > > > >>
>> > > > >> Finally the date/time are strings like you proposed. There is no
>> way
>> > > in
>> > > > >> transforming the date in the client and calculate the time shift
>> > > between
>> > > > >> the timezones because the time difference not only depends on the
>> > > > timezone
>> > > > >> but also on Summer Daylight Time. Berlin is sometimes +2 and
>> > sometimes
>> > > > +1
>> > > > >> depending on if you have Summer Daylight time or not. By using
>> > strings
>> > > > and
>> > > > >> initializing the date/time with proper timezone server side this
>> > > should
>> > > > be
>> > > > >> fixed now .... hopefully finally.
>> > > > >>
>> > > > >> Sebastian
>> > > > >>
>> > > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> > > > >>
>> > > > >> > *Is this is correct way ? Should the Server Machine timezone &
>> > > default
>> > > > >> > timezone in openmeetings app be identical?*
>> > > > >> > => The default timezone is used when nothing else is available.
>> > For
>> > > > >> > example misconfiguration of client.
>> > > > >> >
>> > > > >> > Sebastian
>> > > > >> >
>> > > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> > > > >> >
>> > > > >> > Please let me commit a fix tonight and test tomorrow again.
>> > > > >> >>
>> > > > >> >> Sebastian
>> > > > >> >>
>> > > > >> >>
>> > > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> > > > >> >>
>> > > > >> >>> Seba
>> > > > >> >>>
>> > > > >> >>> Help plz..
>> > > > >> >>>
>> > > > >> >>> my client machine is IST & Server Machine is MDT , default
>> > > timezone
>> > > > in
>> > > > >> >>> openmeetings server is IST
>> > > > >> >>> user timezone is IST
>> > > > >> >>> when i create a calendar event in client machine it converts
>> to
>> > > MDT
>> > > > >> time
>> > > > >> >>> &
>> > > > >> >>> schedules an event.
>> > > > >> >>> Is this is correct way ? Should the Server Machine timezone &
>> > > > default
>> > > > >> >>> timezone in openmeetings app be identical?
>> > > > >> >>>
>> > > > >> >>> Thanks
>> > > > >> >>> Baskar
>> > > > >> >>>
>> > > > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> > > > >> >>>
>> > > > >> >>> > Sorry Hamdi,
>> > > > >> >>> >
>> > > > >> >>> > there is no chance that we will make the timezone settings
>> > > > optional.
>> > > > >> >>> > Maybe there is a chance of have a better default selection
>> for
>> > > the
>> > > > >> >>> timezone
>> > > > >> >>> > but it is not possible to remove the timezone.
>> > > > >> >>> > A Date/time always has a timezone. Just because you think
>> its
>> > > > >> useless
>> > > > >> >>> and
>> > > > >> >>> > want to ignore it, does not mean that it will not exist :)
>> > > > >> >>> >
>> > > > >> >>> > Sebastian
>> > > > >> >>> >
>> > > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
>> > > > >> >>> >
>> > > > >> >>> > >    I don't know why we need to use timezones when we are
>> in
>> > > the
>> > > > >> same
>> > > > >> >>> > > country.
>> > > > >> >>> > > It'll be better to set it as optional and we can sent the
>> > > > >> difference
>> > > > >> >>> > > between timezones in the invitation email.
>> > > > >> >>> > > It can be simpler if all users are in the same country !
>> > > > >> >>> > >
>> > > > >> >>> > >
>> > > > >> >>> > > This is what a screenshot from my machine >>
>> > > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
>> > > > >> >>> > >
>> > > > >> >>> >
>> > > > >> >>> >
>> > > > >> >>> >
>> > > > >> >>> > --
>> > > > >> >>> > Sebastian Wagner
>> > > > >> >>> > https://twitter.com/#!/dead_lock
>> > > > >> >>> > http://www.openmeetings.de
>> > > > >> >>> > http://www.webbase-design.de
>> > > > >> >>> > http://www.wagner-sebastian.com
>> > > > >> >>> > seba.wagner@gmail.com
>> > > > >> >>> >
>> > > > >> >>>
>> > > > >> >>
>> > > > >> >>
>> > > > >> >>
>> > > > >> >> --
>> > > > >> >> Sebastian Wagner
>> > > > >> >> https://twitter.com/#!/dead_lock
>> > > > >> >> http://www.openmeetings.de
>> > > > >> >> http://www.webbase-design.de
>> > > > >> >> http://www.wagner-sebastian.com
>> > > > >> >> seba.wagner@gmail.com
>> > > > >> >>
>> > > > >> >
>> > > > >> >
>> > > > >> >
>> > > > >> > --
>> > > > >> > Sebastian Wagner
>> > > > >> > https://twitter.com/#!/dead_lock
>> > > > >> > http://www.openmeetings.de
>> > > > >> > http://www.webbase-design.de
>> > > > >> > http://www.wagner-sebastian.com
>> > > > >> > seba.wagner@gmail.com
>> > > > >> >
>> > > > >>
>> > > > >>
>> > > > >>
>> > > > >> --
>> > > > >> Sebastian Wagner
>> > > > >> https://twitter.com/#!/dead_lock
>> > > > >> http://www.openmeetings.de
>> > > > >> http://www.webbase-design.de
>> > > > >> http://www.wagner-sebastian.com
>> > > > >> seba.wagner@gmail.com
>> > > > >>
>> > > > >
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Sebastian Wagner
>> > > https://twitter.com/#!/dead_lock
>> > > http://www.openmeetings.de
>> > > http://www.webbase-design.de
>> > > http://www.wagner-sebastian.com
>> > > seba.wagner@gmail.com
>> > >
>> >
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
Seba

Server MDT GMT-6
config default timezone - Etc/GMT-7

-baskar

2012/4/18 seba.wagner@gmail.com <se...@gmail.com>

> What is the server machines timezone
> and what is the timezone that you have put into the Administration >
> Configuration default.timezone ?
>
> Sebastian
>
> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>
> > yea this is the error message i get when i try to enter meeting room
> > through the calendar event invite link
> >
> > 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
> >
> > >  GMT+0530 makes no sense to me.
> > > Is there really written down "GMT" ?
> > >
> > > Sebastian
> > >
> > > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> > >
> > > > heres the error
> > > >
> > > > You invitation code is not valid, the code is only valid during this
> > > > specific date and time:
> > > >
> > > > Wed Apr 18 11:00:00 GMT+0530 2012
> > > >
> > > > Wed Apr 18 13:00:00 GMT+0530 2012
> > > >
> > > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time
> zone
> > > > GMT-7
> > > >
> > > > thanks
> > > > baskar
> > > >
> > > >
> > > >
> > > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> > > >
> > > > > Seba
> > > > >
> > > > > It works fine.. with User timezone IST , Client machine IST &
> Server
> > > > > Machine  Etc/GMT-7
> > > > >
> > > > > but i have a use case - need to check if this is  a valid one
> > > > >
> > > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> > > > > Client machine - IST , the event time in calendar displays IST
> Time (
> > > > same
> > > > > as of created)
> > > > > But when i Join with an invite it doesnot allow me to enter @ IST
> > Time
> > > > > which event created for.
> > > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
> > > > >
> > > > > Event start time 00:30 IST , END TIME : 01:00 IST while joining it
> > > > > displays error saying that its valid for 11:30 hOURS TO 12:00 HOURS
> > > > >
> > > > >
> > > > >
> > > > > Thanks
> > > > > Baskar
> > > > >
> > > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > > >
> > > > >> Please retest the time zone shift problem with revision 1327173 or
> > > > later.
> > > > >>
> > > > >> Finally the date/time are strings like you proposed. There is no
> way
> > > in
> > > > >> transforming the date in the client and calculate the time shift
> > > between
> > > > >> the timezones because the time difference not only depends on the
> > > > timezone
> > > > >> but also on Summer Daylight Time. Berlin is sometimes +2 and
> > sometimes
> > > > +1
> > > > >> depending on if you have Summer Daylight time or not. By using
> > strings
> > > > and
> > > > >> initializing the date/time with proper timezone server side this
> > > should
> > > > be
> > > > >> fixed now .... hopefully finally.
> > > > >>
> > > > >> Sebastian
> > > > >>
> > > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > > >>
> > > > >> > *Is this is correct way ? Should the Server Machine timezone &
> > > default
> > > > >> > timezone in openmeetings app be identical?*
> > > > >> > => The default timezone is used when nothing else is available.
> > For
> > > > >> > example misconfiguration of client.
> > > > >> >
> > > > >> > Sebastian
> > > > >> >
> > > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > > >> >
> > > > >> > Please let me commit a fix tonight and test tomorrow again.
> > > > >> >>
> > > > >> >> Sebastian
> > > > >> >>
> > > > >> >>
> > > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> > > > >> >>
> > > > >> >>> Seba
> > > > >> >>>
> > > > >> >>> Help plz..
> > > > >> >>>
> > > > >> >>> my client machine is IST & Server Machine is MDT , default
> > > timezone
> > > > in
> > > > >> >>> openmeetings server is IST
> > > > >> >>> user timezone is IST
> > > > >> >>> when i create a calendar event in client machine it converts
> to
> > > MDT
> > > > >> time
> > > > >> >>> &
> > > > >> >>> schedules an event.
> > > > >> >>> Is this is correct way ? Should the Server Machine timezone &
> > > > default
> > > > >> >>> timezone in openmeetings app be identical?
> > > > >> >>>
> > > > >> >>> Thanks
> > > > >> >>> Baskar
> > > > >> >>>
> > > > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > > >> >>>
> > > > >> >>> > Sorry Hamdi,
> > > > >> >>> >
> > > > >> >>> > there is no chance that we will make the timezone settings
> > > > optional.
> > > > >> >>> > Maybe there is a chance of have a better default selection
> for
> > > the
> > > > >> >>> timezone
> > > > >> >>> > but it is not possible to remove the timezone.
> > > > >> >>> > A Date/time always has a timezone. Just because you think
> its
> > > > >> useless
> > > > >> >>> and
> > > > >> >>> > want to ignore it, does not mean that it will not exist :)
> > > > >> >>> >
> > > > >> >>> > Sebastian
> > > > >> >>> >
> > > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> > > > >> >>> >
> > > > >> >>> > >    I don't know why we need to use timezones when we are
> in
> > > the
> > > > >> same
> > > > >> >>> > > country.
> > > > >> >>> > > It'll be better to set it as optional and we can sent the
> > > > >> difference
> > > > >> >>> > > between timezones in the invitation email.
> > > > >> >>> > > It can be simpler if all users are in the same country !
> > > > >> >>> > >
> > > > >> >>> > >
> > > > >> >>> > > This is what a screenshot from my machine >>
> > > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> > > > >> >>> > >
> > > > >> >>> >
> > > > >> >>> >
> > > > >> >>> >
> > > > >> >>> > --
> > > > >> >>> > Sebastian Wagner
> > > > >> >>> > https://twitter.com/#!/dead_lock
> > > > >> >>> > http://www.openmeetings.de
> > > > >> >>> > http://www.webbase-design.de
> > > > >> >>> > http://www.wagner-sebastian.com
> > > > >> >>> > seba.wagner@gmail.com
> > > > >> >>> >
> > > > >> >>>
> > > > >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >> --
> > > > >> >> Sebastian Wagner
> > > > >> >> https://twitter.com/#!/dead_lock
> > > > >> >> http://www.openmeetings.de
> > > > >> >> http://www.webbase-design.de
> > > > >> >> http://www.wagner-sebastian.com
> > > > >> >> seba.wagner@gmail.com
> > > > >> >>
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > --
> > > > >> > Sebastian Wagner
> > > > >> > https://twitter.com/#!/dead_lock
> > > > >> > http://www.openmeetings.de
> > > > >> > http://www.webbase-design.de
> > > > >> > http://www.wagner-sebastian.com
> > > > >> > seba.wagner@gmail.com
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> Sebastian Wagner
> > > > >> https://twitter.com/#!/dead_lock
> > > > >> http://www.openmeetings.de
> > > > >> http://www.webbase-design.de
> > > > >> http://www.wagner-sebastian.com
> > > > >> seba.wagner@gmail.com
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Sebastian Wagner
> > > https://twitter.com/#!/dead_lock
> > > http://www.openmeetings.de
> > > http://www.webbase-design.de
> > > http://www.wagner-sebastian.com
> > > seba.wagner@gmail.com
> > >
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
What is the server machines timezone
and what is the timezone that you have put into the Administration >
Configuration default.timezone ?

Sebastian

2012/4/18 Baskar Rajendran <ba...@gmail.com>

> yea this is the error message i get when i try to enter meeting room
> through the calendar event invite link
>
> 2012/4/18 seba.wagner@gmail.com <se...@gmail.com>
>
> >  GMT+0530 makes no sense to me.
> > Is there really written down "GMT" ?
> >
> > Sebastian
> >
> > 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >
> > > heres the error
> > >
> > > You invitation code is not valid, the code is only valid during this
> > > specific date and time:
> > >
> > > Wed Apr 18 11:00:00 GMT+0530 2012
> > >
> > > Wed Apr 18 13:00:00 GMT+0530 2012
> > >
> > > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time zone
> > > GMT-7
> > >
> > > thanks
> > > baskar
> > >
> > >
> > >
> > > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> > >
> > > > Seba
> > > >
> > > > It works fine.. with User timezone IST , Client machine IST & Server
> > > > Machine  Etc/GMT-7
> > > >
> > > > but i have a use case - need to check if this is  a valid one
> > > >
> > > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> > > > Client machine - IST , the event time in calendar displays IST Time (
> > > same
> > > > as of created)
> > > > But when i Join with an invite it doesnot allow me to enter @ IST
> Time
> > > > which event created for.
> > > > It tries to add the IST + difference in (IST & Etc/GMT-6)
> > > >
> > > > Event start time 00:30 IST , END TIME : 01:00 IST while joining it
> > > > displays error saying that its valid for 11:30 hOURS TO 12:00 HOURS
> > > >
> > > >
> > > >
> > > > Thanks
> > > > Baskar
> > > >
> > > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > >
> > > >> Please retest the time zone shift problem with revision 1327173 or
> > > later.
> > > >>
> > > >> Finally the date/time are strings like you proposed. There is no way
> > in
> > > >> transforming the date in the client and calculate the time shift
> > between
> > > >> the timezones because the time difference not only depends on the
> > > timezone
> > > >> but also on Summer Daylight Time. Berlin is sometimes +2 and
> sometimes
> > > +1
> > > >> depending on if you have Summer Daylight time or not. By using
> strings
> > > and
> > > >> initializing the date/time with proper timezone server side this
> > should
> > > be
> > > >> fixed now .... hopefully finally.
> > > >>
> > > >> Sebastian
> > > >>
> > > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > >>
> > > >> > *Is this is correct way ? Should the Server Machine timezone &
> > default
> > > >> > timezone in openmeetings app be identical?*
> > > >> > => The default timezone is used when nothing else is available.
> For
> > > >> > example misconfiguration of client.
> > > >> >
> > > >> > Sebastian
> > > >> >
> > > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > >> >
> > > >> > Please let me commit a fix tonight and test tomorrow again.
> > > >> >>
> > > >> >> Sebastian
> > > >> >>
> > > >> >>
> > > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> > > >> >>
> > > >> >>> Seba
> > > >> >>>
> > > >> >>> Help plz..
> > > >> >>>
> > > >> >>> my client machine is IST & Server Machine is MDT , default
> > timezone
> > > in
> > > >> >>> openmeetings server is IST
> > > >> >>> user timezone is IST
> > > >> >>> when i create a calendar event in client machine it converts to
> > MDT
> > > >> time
> > > >> >>> &
> > > >> >>> schedules an event.
> > > >> >>> Is this is correct way ? Should the Server Machine timezone &
> > > default
> > > >> >>> timezone in openmeetings app be identical?
> > > >> >>>
> > > >> >>> Thanks
> > > >> >>> Baskar
> > > >> >>>
> > > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > > >> >>>
> > > >> >>> > Sorry Hamdi,
> > > >> >>> >
> > > >> >>> > there is no chance that we will make the timezone settings
> > > optional.
> > > >> >>> > Maybe there is a chance of have a better default selection for
> > the
> > > >> >>> timezone
> > > >> >>> > but it is not possible to remove the timezone.
> > > >> >>> > A Date/time always has a timezone. Just because you think its
> > > >> useless
> > > >> >>> and
> > > >> >>> > want to ignore it, does not mean that it will not exist :)
> > > >> >>> >
> > > >> >>> > Sebastian
> > > >> >>> >
> > > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> > > >> >>> >
> > > >> >>> > >    I don't know why we need to use timezones when we are in
> > the
> > > >> same
> > > >> >>> > > country.
> > > >> >>> > > It'll be better to set it as optional and we can sent the
> > > >> difference
> > > >> >>> > > between timezones in the invitation email.
> > > >> >>> > > It can be simpler if all users are in the same country !
> > > >> >>> > >
> > > >> >>> > >
> > > >> >>> > > This is what a screenshot from my machine >>
> > > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> > > >> >>> > >
> > > >> >>> >
> > > >> >>> >
> > > >> >>> >
> > > >> >>> > --
> > > >> >>> > Sebastian Wagner
> > > >> >>> > https://twitter.com/#!/dead_lock
> > > >> >>> > http://www.openmeetings.de
> > > >> >>> > http://www.webbase-design.de
> > > >> >>> > http://www.wagner-sebastian.com
> > > >> >>> > seba.wagner@gmail.com
> > > >> >>> >
> > > >> >>>
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >> --
> > > >> >> Sebastian Wagner
> > > >> >> https://twitter.com/#!/dead_lock
> > > >> >> http://www.openmeetings.de
> > > >> >> http://www.webbase-design.de
> > > >> >> http://www.wagner-sebastian.com
> > > >> >> seba.wagner@gmail.com
> > > >> >>
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Sebastian Wagner
> > > >> > https://twitter.com/#!/dead_lock
> > > >> > http://www.openmeetings.de
> > > >> > http://www.webbase-design.de
> > > >> > http://www.wagner-sebastian.com
> > > >> > seba.wagner@gmail.com
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Sebastian Wagner
> > > >> https://twitter.com/#!/dead_lock
> > > >> http://www.openmeetings.de
> > > >> http://www.webbase-design.de
> > > >> http://www.wagner-sebastian.com
> > > >> seba.wagner@gmail.com
> > > >>
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
yea this is the error message i get when i try to enter meeting room
through the calendar event invite link

2012/4/18 seba.wagner@gmail.com <se...@gmail.com>

>  GMT+0530 makes no sense to me.
> Is there really written down "GMT" ?
>
> Sebastian
>
> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>
> > heres the error
> >
> > You invitation code is not valid, the code is only valid during this
> > specific date and time:
> >
> > Wed Apr 18 11:00:00 GMT+0530 2012
> >
> > Wed Apr 18 13:00:00 GMT+0530 2012
> >
> > but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time zone
> > GMT-7
> >
> > thanks
> > baskar
> >
> >
> >
> > 2012/4/18 Baskar Rajendran <ba...@gmail.com>
> >
> > > Seba
> > >
> > > It works fine.. with User timezone IST , Client machine IST & Server
> > > Machine  Etc/GMT-7
> > >
> > > but i have a use case - need to check if this is  a valid one
> > >
> > > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> > > Client machine - IST , the event time in calendar displays IST Time (
> > same
> > > as of created)
> > > But when i Join with an invite it doesnot allow me to enter @ IST Time
> > > which event created for.
> > > It tries to add the IST + difference in (IST & Etc/GMT-6)
> > >
> > > Event start time 00:30 IST , END TIME : 01:00 IST while joining it
> > > displays error saying that its valid for 11:30 hOURS TO 12:00 HOURS
> > >
> > >
> > >
> > > Thanks
> > > Baskar
> > >
> > > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > >
> > >> Please retest the time zone shift problem with revision 1327173 or
> > later.
> > >>
> > >> Finally the date/time are strings like you proposed. There is no way
> in
> > >> transforming the date in the client and calculate the time shift
> between
> > >> the timezones because the time difference not only depends on the
> > timezone
> > >> but also on Summer Daylight Time. Berlin is sometimes +2 and sometimes
> > +1
> > >> depending on if you have Summer Daylight time or not. By using strings
> > and
> > >> initializing the date/time with proper timezone server side this
> should
> > be
> > >> fixed now .... hopefully finally.
> > >>
> > >> Sebastian
> > >>
> > >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > >>
> > >> > *Is this is correct way ? Should the Server Machine timezone &
> default
> > >> > timezone in openmeetings app be identical?*
> > >> > => The default timezone is used when nothing else is available. For
> > >> > example misconfiguration of client.
> > >> >
> > >> > Sebastian
> > >> >
> > >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > >> >
> > >> > Please let me commit a fix tonight and test tomorrow again.
> > >> >>
> > >> >> Sebastian
> > >> >>
> > >> >>
> > >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> > >> >>
> > >> >>> Seba
> > >> >>>
> > >> >>> Help plz..
> > >> >>>
> > >> >>> my client machine is IST & Server Machine is MDT , default
> timezone
> > in
> > >> >>> openmeetings server is IST
> > >> >>> user timezone is IST
> > >> >>> when i create a calendar event in client machine it converts to
> MDT
> > >> time
> > >> >>> &
> > >> >>> schedules an event.
> > >> >>> Is this is correct way ? Should the Server Machine timezone &
> > default
> > >> >>> timezone in openmeetings app be identical?
> > >> >>>
> > >> >>> Thanks
> > >> >>> Baskar
> > >> >>>
> > >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> > >> >>>
> > >> >>> > Sorry Hamdi,
> > >> >>> >
> > >> >>> > there is no chance that we will make the timezone settings
> > optional.
> > >> >>> > Maybe there is a chance of have a better default selection for
> the
> > >> >>> timezone
> > >> >>> > but it is not possible to remove the timezone.
> > >> >>> > A Date/time always has a timezone. Just because you think its
> > >> useless
> > >> >>> and
> > >> >>> > want to ignore it, does not mean that it will not exist :)
> > >> >>> >
> > >> >>> > Sebastian
> > >> >>> >
> > >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> > >> >>> >
> > >> >>> > >    I don't know why we need to use timezones when we are in
> the
> > >> same
> > >> >>> > > country.
> > >> >>> > > It'll be better to set it as optional and we can sent the
> > >> difference
> > >> >>> > > between timezones in the invitation email.
> > >> >>> > > It can be simpler if all users are in the same country !
> > >> >>> > >
> > >> >>> > >
> > >> >>> > > This is what a screenshot from my machine >>
> > >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> > >> >>> > >
> > >> >>> >
> > >> >>> >
> > >> >>> >
> > >> >>> > --
> > >> >>> > Sebastian Wagner
> > >> >>> > https://twitter.com/#!/dead_lock
> > >> >>> > http://www.openmeetings.de
> > >> >>> > http://www.webbase-design.de
> > >> >>> > http://www.wagner-sebastian.com
> > >> >>> > seba.wagner@gmail.com
> > >> >>> >
> > >> >>>
> > >> >>
> > >> >>
> > >> >>
> > >> >> --
> > >> >> Sebastian Wagner
> > >> >> https://twitter.com/#!/dead_lock
> > >> >> http://www.openmeetings.de
> > >> >> http://www.webbase-design.de
> > >> >> http://www.wagner-sebastian.com
> > >> >> seba.wagner@gmail.com
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > Sebastian Wagner
> > >> > https://twitter.com/#!/dead_lock
> > >> > http://www.openmeetings.de
> > >> > http://www.webbase-design.de
> > >> > http://www.wagner-sebastian.com
> > >> > seba.wagner@gmail.com
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Sebastian Wagner
> > >> https://twitter.com/#!/dead_lock
> > >> http://www.openmeetings.de
> > >> http://www.webbase-design.de
> > >> http://www.wagner-sebastian.com
> > >> seba.wagner@gmail.com
> > >>
> > >
> > >
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
 GMT+0530 makes no sense to me.
Is there really written down "GMT" ?

Sebastian

2012/4/17 Baskar Rajendran <ba...@gmail.com>

> heres the error
>
> You invitation code is not valid, the code is only valid during this
> specific date and time:
>
> Wed Apr 18 11:00:00 GMT+0530 2012
>
> Wed Apr 18 13:00:00 GMT+0530 2012
>
> but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time zone
> GMT-7
>
> thanks
> baskar
>
>
>
> 2012/4/18 Baskar Rajendran <ba...@gmail.com>
>
> > Seba
> >
> > It works fine.. with User timezone IST , Client machine IST & Server
> > Machine  Etc/GMT-7
> >
> > but i have a use case - need to check if this is  a valid one
> >
> > user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> > Client machine - IST , the event time in calendar displays IST Time (
> same
> > as of created)
> > But when i Join with an invite it doesnot allow me to enter @ IST Time
> > which event created for.
> > It tries to add the IST + difference in (IST & Etc/GMT-6)
> >
> > Event start time 00:30 IST , END TIME : 01:00 IST while joining it
> > displays error saying that its valid for 11:30 hOURS TO 12:00 HOURS
> >
> >
> >
> > Thanks
> > Baskar
> >
> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >
> >> Please retest the time zone shift problem with revision 1327173 or
> later.
> >>
> >> Finally the date/time are strings like you proposed. There is no way in
> >> transforming the date in the client and calculate the time shift between
> >> the timezones because the time difference not only depends on the
> timezone
> >> but also on Summer Daylight Time. Berlin is sometimes +2 and sometimes
> +1
> >> depending on if you have Summer Daylight time or not. By using strings
> and
> >> initializing the date/time with proper timezone server side this should
> be
> >> fixed now .... hopefully finally.
> >>
> >> Sebastian
> >>
> >> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >>
> >> > *Is this is correct way ? Should the Server Machine timezone & default
> >> > timezone in openmeetings app be identical?*
> >> > => The default timezone is used when nothing else is available. For
> >> > example misconfiguration of client.
> >> >
> >> > Sebastian
> >> >
> >> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> >
> >> > Please let me commit a fix tonight and test tomorrow again.
> >> >>
> >> >> Sebastian
> >> >>
> >> >>
> >> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >> >>
> >> >>> Seba
> >> >>>
> >> >>> Help plz..
> >> >>>
> >> >>> my client machine is IST & Server Machine is MDT , default timezone
> in
> >> >>> openmeetings server is IST
> >> >>> user timezone is IST
> >> >>> when i create a calendar event in client machine it converts to MDT
> >> time
> >> >>> &
> >> >>> schedules an event.
> >> >>> Is this is correct way ? Should the Server Machine timezone &
> default
> >> >>> timezone in openmeetings app be identical?
> >> >>>
> >> >>> Thanks
> >> >>> Baskar
> >> >>>
> >> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >> >>>
> >> >>> > Sorry Hamdi,
> >> >>> >
> >> >>> > there is no chance that we will make the timezone settings
> optional.
> >> >>> > Maybe there is a chance of have a better default selection for the
> >> >>> timezone
> >> >>> > but it is not possible to remove the timezone.
> >> >>> > A Date/time always has a timezone. Just because you think its
> >> useless
> >> >>> and
> >> >>> > want to ignore it, does not mean that it will not exist :)
> >> >>> >
> >> >>> > Sebastian
> >> >>> >
> >> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> >> >>> >
> >> >>> > >    I don't know why we need to use timezones when we are in the
> >> same
> >> >>> > > country.
> >> >>> > > It'll be better to set it as optional and we can sent the
> >> difference
> >> >>> > > between timezones in the invitation email.
> >> >>> > > It can be simpler if all users are in the same country !
> >> >>> > >
> >> >>> > >
> >> >>> > > This is what a screenshot from my machine >>
> >> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> >> >>> > >
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > --
> >> >>> > Sebastian Wagner
> >> >>> > https://twitter.com/#!/dead_lock
> >> >>> > http://www.openmeetings.de
> >> >>> > http://www.webbase-design.de
> >> >>> > http://www.wagner-sebastian.com
> >> >>> > seba.wagner@gmail.com
> >> >>> >
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Sebastian Wagner
> >> >> https://twitter.com/#!/dead_lock
> >> >> http://www.openmeetings.de
> >> >> http://www.webbase-design.de
> >> >> http://www.wagner-sebastian.com
> >> >> seba.wagner@gmail.com
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Sebastian Wagner
> >> > https://twitter.com/#!/dead_lock
> >> > http://www.openmeetings.de
> >> > http://www.webbase-design.de
> >> > http://www.wagner-sebastian.com
> >> > seba.wagner@gmail.com
> >> >
> >>
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.openmeetings.de
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> seba.wagner@gmail.com
> >>
> >
> >
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
heres the error

You invitation code is not valid, the code is only valid during this
specific date and time:

Wed Apr 18 11:00:00 GMT+0530 2012

Wed Apr 18 13:00:00 GMT+0530 2012

but  created 00:30 IST (GMT+5:30) with Server GMT-6 and User time zone GMT-7

thanks
baskar



2012/4/18 Baskar Rajendran <ba...@gmail.com>

> Seba
>
> It works fine.. with User timezone IST , Client machine IST & Server
> Machine  Etc/GMT-7
>
> but i have a use case - need to check if this is  a valid one
>
> user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
> Client machine - IST , the event time in calendar displays IST Time ( same
> as of created)
> But when i Join with an invite it doesnot allow me to enter @ IST Time
> which event created for.
> It tries to add the IST + difference in (IST & Etc/GMT-6)
>
> Event start time 00:30 IST , END TIME : 01:00 IST while joining it
> displays error saying that its valid for 11:30 hOURS TO 12:00 HOURS
>
>
>
> Thanks
> Baskar
>
> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>
>> Please retest the time zone shift problem with revision 1327173 or later.
>>
>> Finally the date/time are strings like you proposed. There is no way in
>> transforming the date in the client and calculate the time shift between
>> the timezones because the time difference not only depends on the timezone
>> but also on Summer Daylight Time. Berlin is sometimes +2 and sometimes +1
>> depending on if you have Summer Daylight time or not. By using strings and
>> initializing the date/time with proper timezone server side this should be
>> fixed now .... hopefully finally.
>>
>> Sebastian
>>
>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>>
>> > *Is this is correct way ? Should the Server Machine timezone & default
>> > timezone in openmeetings app be identical?*
>> > => The default timezone is used when nothing else is available. For
>> > example misconfiguration of client.
>> >
>> > Sebastian
>> >
>> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >
>> > Please let me commit a fix tonight and test tomorrow again.
>> >>
>> >> Sebastian
>> >>
>> >>
>> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>> >>
>> >>> Seba
>> >>>
>> >>> Help plz..
>> >>>
>> >>> my client machine is IST & Server Machine is MDT , default timezone in
>> >>> openmeetings server is IST
>> >>> user timezone is IST
>> >>> when i create a calendar event in client machine it converts to MDT
>> time
>> >>> &
>> >>> schedules an event.
>> >>> Is this is correct way ? Should the Server Machine timezone & default
>> >>> timezone in openmeetings app be identical?
>> >>>
>> >>> Thanks
>> >>> Baskar
>> >>>
>> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>> >>>
>> >>> > Sorry Hamdi,
>> >>> >
>> >>> > there is no chance that we will make the timezone settings optional.
>> >>> > Maybe there is a chance of have a better default selection for the
>> >>> timezone
>> >>> > but it is not possible to remove the timezone.
>> >>> > A Date/time always has a timezone. Just because you think its
>> useless
>> >>> and
>> >>> > want to ignore it, does not mean that it will not exist :)
>> >>> >
>> >>> > Sebastian
>> >>> >
>> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
>> >>> >
>> >>> > >    I don't know why we need to use timezones when we are in the
>> same
>> >>> > > country.
>> >>> > > It'll be better to set it as optional and we can sent the
>> difference
>> >>> > > between timezones in the invitation email.
>> >>> > > It can be simpler if all users are in the same country !
>> >>> > >
>> >>> > >
>> >>> > > This is what a screenshot from my machine >>
>> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
>> >>> > >
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Sebastian Wagner
>> >>> > https://twitter.com/#!/dead_lock
>> >>> > http://www.openmeetings.de
>> >>> > http://www.webbase-design.de
>> >>> > http://www.wagner-sebastian.com
>> >>> > seba.wagner@gmail.com
>> >>> >
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Sebastian Wagner
>> >> https://twitter.com/#!/dead_lock
>> >> http://www.openmeetings.de
>> >> http://www.webbase-design.de
>> >> http://www.wagner-sebastian.com
>> >> seba.wagner@gmail.com
>> >>
>> >
>> >
>> >
>> > --
>> > Sebastian Wagner
>> > https://twitter.com/#!/dead_lock
>> > http://www.openmeetings.de
>> > http://www.webbase-design.de
>> > http://www.wagner-sebastian.com
>> > seba.wagner@gmail.com
>> >
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
Seba

It works fine.. with User timezone IST , Client machine IST & Server
Machine  Etc/GMT-7

but i have a use case - need to check if this is  a valid one

user timezone is Etc/GMT-7 and Server Machine is Etc/GMT-6
Client machine - IST , the event time in calendar displays IST Time ( same
as of created)
But when i Join with an invite it doesnot allow me to enter @ IST Time
which event created for.
It tries to add the IST + difference in (IST & Etc/GMT-6)

Event start time 00:30 IST , END TIME : 01:00 IST while joining it displays
error saying that its valid for 11:30 hOURS TO 12:00 HOURS



Thanks
Baskar

2012/4/17 seba.wagner@gmail.com <se...@gmail.com>

> Please retest the time zone shift problem with revision 1327173 or later.
>
> Finally the date/time are strings like you proposed. There is no way in
> transforming the date in the client and calculate the time shift between
> the timezones because the time difference not only depends on the timezone
> but also on Summer Daylight Time. Berlin is sometimes +2 and sometimes +1
> depending on if you have Summer Daylight time or not. By using strings and
> initializing the date/time with proper timezone server side this should be
> fixed now .... hopefully finally.
>
> Sebastian
>
> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>
> > *Is this is correct way ? Should the Server Machine timezone & default
> > timezone in openmeetings app be identical?*
> > => The default timezone is used when nothing else is available. For
> > example misconfiguration of client.
> >
> > Sebastian
> >
> > 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >
> > Please let me commit a fix tonight and test tomorrow again.
> >>
> >> Sebastian
> >>
> >>
> >> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
> >>
> >>> Seba
> >>>
> >>> Help plz..
> >>>
> >>> my client machine is IST & Server Machine is MDT , default timezone in
> >>> openmeetings server is IST
> >>> user timezone is IST
> >>> when i create a calendar event in client machine it converts to MDT
> time
> >>> &
> >>> schedules an event.
> >>> Is this is correct way ? Should the Server Machine timezone & default
> >>> timezone in openmeetings app be identical?
> >>>
> >>> Thanks
> >>> Baskar
> >>>
> >>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
> >>>
> >>> > Sorry Hamdi,
> >>> >
> >>> > there is no chance that we will make the timezone settings optional.
> >>> > Maybe there is a chance of have a better default selection for the
> >>> timezone
> >>> > but it is not possible to remove the timezone.
> >>> > A Date/time always has a timezone. Just because you think its useless
> >>> and
> >>> > want to ignore it, does not mean that it will not exist :)
> >>> >
> >>> > Sebastian
> >>> >
> >>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> >>> >
> >>> > >    I don't know why we need to use timezones when we are in the
> same
> >>> > > country.
> >>> > > It'll be better to set it as optional and we can sent the
> difference
> >>> > > between timezones in the invitation email.
> >>> > > It can be simpler if all users are in the same country !
> >>> > >
> >>> > >
> >>> > > This is what a screenshot from my machine >>
> >>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> >>> > >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Sebastian Wagner
> >>> > https://twitter.com/#!/dead_lock
> >>> > http://www.openmeetings.de
> >>> > http://www.webbase-design.de
> >>> > http://www.wagner-sebastian.com
> >>> > seba.wagner@gmail.com
> >>> >
> >>>
> >>
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.openmeetings.de
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> seba.wagner@gmail.com
> >>
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Please retest the time zone shift problem with revision 1327173 or later.

Finally the date/time are strings like you proposed. There is no way in
transforming the date in the client and calculate the time shift between
the timezones because the time difference not only depends on the timezone
but also on Summer Daylight Time. Berlin is sometimes +2 and sometimes +1
depending on if you have Summer Daylight time or not. By using strings and
initializing the date/time with proper timezone server side this should be
fixed now .... hopefully finally.

Sebastian

2012/4/17 seba.wagner@gmail.com <se...@gmail.com>

> *Is this is correct way ? Should the Server Machine timezone & default
> timezone in openmeetings app be identical?*
> => The default timezone is used when nothing else is available. For
> example misconfiguration of client.
>
> Sebastian
>
> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>
> Please let me commit a fix tonight and test tomorrow again.
>>
>> Sebastian
>>
>>
>> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>>
>>> Seba
>>>
>>> Help plz..
>>>
>>> my client machine is IST & Server Machine is MDT , default timezone in
>>> openmeetings server is IST
>>> user timezone is IST
>>> when i create a calendar event in client machine it converts to MDT time
>>> &
>>> schedules an event.
>>> Is this is correct way ? Should the Server Machine timezone & default
>>> timezone in openmeetings app be identical?
>>>
>>> Thanks
>>> Baskar
>>>
>>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>>>
>>> > Sorry Hamdi,
>>> >
>>> > there is no chance that we will make the timezone settings optional.
>>> > Maybe there is a chance of have a better default selection for the
>>> timezone
>>> > but it is not possible to remove the timezone.
>>> > A Date/time always has a timezone. Just because you think its useless
>>> and
>>> > want to ignore it, does not mean that it will not exist :)
>>> >
>>> > Sebastian
>>> >
>>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
>>> >
>>> > >    I don't know why we need to use timezones when we are in the same
>>> > > country.
>>> > > It'll be better to set it as optional and we can sent the difference
>>> > > between timezones in the invitation email.
>>> > > It can be simpler if all users are in the same country !
>>> > >
>>> > >
>>> > > This is what a screenshot from my machine >>
>>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
>>> > >
>>> >
>>> >
>>> >
>>> > --
>>> > Sebastian Wagner
>>> > https://twitter.com/#!/dead_lock
>>> > http://www.openmeetings.de
>>> > http://www.webbase-design.de
>>> > http://www.wagner-sebastian.com
>>> > seba.wagner@gmail.com
>>> >
>>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
*Is this is correct way ? Should the Server Machine timezone & default
timezone in openmeetings app be identical?*
=> The default timezone is used when nothing else is available. For example
misconfiguration of client.

Sebastian

2012/4/17 seba.wagner@gmail.com <se...@gmail.com>

> Please let me commit a fix tonight and test tomorrow again.
>
> Sebastian
>
>
> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>
>> Seba
>>
>> Help plz..
>>
>> my client machine is IST & Server Machine is MDT , default timezone in
>> openmeetings server is IST
>> user timezone is IST
>> when i create a calendar event in client machine it converts to MDT time &
>> schedules an event.
>> Is this is correct way ? Should the Server Machine timezone & default
>> timezone in openmeetings app be identical?
>>
>> Thanks
>> Baskar
>>
>> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>>
>> > Sorry Hamdi,
>> >
>> > there is no chance that we will make the timezone settings optional.
>> > Maybe there is a chance of have a better default selection for the
>> timezone
>> > but it is not possible to remove the timezone.
>> > A Date/time always has a timezone. Just because you think its useless
>> and
>> > want to ignore it, does not mean that it will not exist :)
>> >
>> > Sebastian
>> >
>> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
>> >
>> > >    I don't know why we need to use timezones when we are in the same
>> > > country.
>> > > It'll be better to set it as optional and we can sent the difference
>> > > between timezones in the invitation email.
>> > > It can be simpler if all users are in the same country !
>> > >
>> > >
>> > > This is what a screenshot from my machine >>
>> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
>> > >
>> >
>> >
>> >
>> > --
>> > Sebastian Wagner
>> > https://twitter.com/#!/dead_lock
>> > http://www.openmeetings.de
>> > http://www.webbase-design.de
>> > http://www.wagner-sebastian.com
>> > seba.wagner@gmail.com
>> >
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Please let me commit a fix tonight and test tomorrow again.

Sebastian

2012/4/17 Baskar Rajendran <ba...@gmail.com>

> Seba
>
> Help plz..
>
> my client machine is IST & Server Machine is MDT , default timezone in
> openmeetings server is IST
> user timezone is IST
> when i create a calendar event in client machine it converts to MDT time &
> schedules an event.
> Is this is correct way ? Should the Server Machine timezone & default
> timezone in openmeetings app be identical?
>
> Thanks
> Baskar
>
> 2012/4/17 seba.wagner@gmail.com <se...@gmail.com>
>
> > Sorry Hamdi,
> >
> > there is no chance that we will make the timezone settings optional.
> > Maybe there is a chance of have a better default selection for the
> timezone
> > but it is not possible to remove the timezone.
> > A Date/time always has a timezone. Just because you think its useless and
> > want to ignore it, does not mean that it will not exist :)
> >
> > Sebastian
> >
> > 2012/4/17 Hamdi THABET <ha...@gmail.com>
> >
> > >    I don't know why we need to use timezones when we are in the same
> > > country.
> > > It'll be better to set it as optional and we can sent the difference
> > > between timezones in the invitation email.
> > > It can be simpler if all users are in the same country !
> > >
> > >
> > > This is what a screenshot from my machine >>
> > > http://www.youtube.com/watch?v=rkOeOGB_LHI
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
Seba

Help plz..

my client machine is IST & Server Machine is MDT , default timezone in
openmeetings server is IST
user timezone is IST
when i create a calendar event in client machine it converts to MDT time &
schedules an event.
Is this is correct way ? Should the Server Machine timezone & default
timezone in openmeetings app be identical?

Thanks
Baskar

2012/4/17 seba.wagner@gmail.com <se...@gmail.com>

> Sorry Hamdi,
>
> there is no chance that we will make the timezone settings optional.
> Maybe there is a chance of have a better default selection for the timezone
> but it is not possible to remove the timezone.
> A Date/time always has a timezone. Just because you think its useless and
> want to ignore it, does not mean that it will not exist :)
>
> Sebastian
>
> 2012/4/17 Hamdi THABET <ha...@gmail.com>
>
> >    I don't know why we need to use timezones when we are in the same
> > country.
> > It'll be better to set it as optional and we can sent the difference
> > between timezones in the invitation email.
> > It can be simpler if all users are in the same country !
> >
> >
> > This is what a screenshot from my machine >>
> > http://www.youtube.com/watch?v=rkOeOGB_LHI
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Sorry Hamdi,

there is no chance that we will make the timezone settings optional.
Maybe there is a chance of have a better default selection for the timezone
but it is not possible to remove the timezone.
A Date/time always has a timezone. Just because you think its useless and
want to ignore it, does not mean that it will not exist :)

Sebastian

2012/4/17 Hamdi THABET <ha...@gmail.com>

>    I don't know why we need to use timezones when we are in the same
> country.
> It'll be better to set it as optional and we can sent the difference
> between timezones in the invitation email.
> It can be simpler if all users are in the same country !
>
>
> This is what a screenshot from my machine >>
> http://www.youtube.com/watch?v=rkOeOGB_LHI
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Réf. : Re: Réf. : Re: Timezone & Time pb !

Posted by Hamdi THABET <ha...@gmail.com>.
I don't know why we need to use timezones when we are in the same country.
It'll be better to set it as optional and we can sent the difference between
timezones in the invitation email.
It can be simpler if all users are in the same country !


This is what a screenshot from my machine >> http://www.youtube.com/watch?v=rkOeOGB_LHI

Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I think there are two places to change:

1)
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/lzcalendar/compontents/lzEditCalendarEvent.lzx?view=markup
Line 105 to 125 calcing the time-diff to UTC and setting the time/date
using the UTC methods

2)
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/lzcalendar/compontents/layouts/dragEvent.lzx?view=markup
Various lines need refactoring calcing the time-diff to UTC and setting the
time/date using the UTC methods

Sebastian

2012/4/17 seba.wagner@gmail.com <se...@gmail.com>

> I have spend quite a while to make everything working with Date objects
> instead of using strings. I would like to keep that logic. Working with
> real Date's has some advantages when you really calculate with them.
>
>
> Sebastian
>
> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>
>> The date is entered by user as String: "14:00" it can be passed to the
>> server as string ...
>> JS can be used for validation only (without any transformations)
>>
>> On Tue, Apr 17, 2012 at 15:00, seba.wagner@gmail.com
>> <se...@gmail.com>wrote:
>>
>> > I don't think that a JavaScript Date can be create in any other timezone
>> > then the default one.
>> > http://www.w3schools.com/jsref/jsref_obj_date.asp
>> >
>> > There is no timezone information, you can only read the offset.
>> > But you could use the method "setUTCDate" to set the time/date
>> correctly.
>> > But you would need to calc the UTC Date/time from the given date/time
>> all
>> > save/update event methods in the client.
>> >
>> > Sebastian
>> >
>> > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>> >
>> > > Actually there is option to set correct timezone: You can pass date as
>> > > date/string and create valid date object using Calendar
>> > > with specifying current user TZ.
>> > > Also Irina told me TZ is set correctly while event editing ...
>> > >
>> > > On Tue, Apr 17, 2012 at 14:46, Maxim Solodovnik <solomax666@gmail.com
>> > > >wrote:
>> > >
>> > > > client machine timezone is GMT+7
>> > > >
>> > > >
>> > > > On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com <
>> > > > seba.wagner@gmail.com> wrote:
>> > > >
>> > > >> Just let me understand it first :)
>> > > >>
>> > > >> 2) default user TZ (GMT+7) (user level: admin)
>> > > >> 3) another user TZ (GMT-4) (user level: user)
>> > > >>
>> > > >> => what is the timezone of the browser? I mean if you create a Date
>> > > Object
>> > > >> is JavaScript it always will have the timezone of the browser.
>> There
>> > is
>> > > >> also no chance of changing that as JavaScript Date has no timezone
>> > info
>> > > >> ...
>> > > >> same as java.util.Date.
>> > > >> This could be a problem.
>> > > >>
>> > > >> Admin or user level has no influence from my point of view.
>> > > >>
>> > > >> Sebastian
>> > > >>
>> > > >> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>> > > >>
>> > > >> > OK
>> > > >> >
>> > > >> > Here are my steps:
>> > > >> > 1) server TZ: MSK (GMT+3)
>> > > >> > 2) default user TZ (GMT+7) (user level: admin)
>> > > >> > 3) another user TZ (GMT-4) (user level: user)
>> > > >> >
>> > > >> > The issue is NOT reproducible for the default admin user
>> > > >> > The issue is reproducible for "another user"
>> > > >> >
>> > > >> > The event created using both "New Event" button and click on the
>> > > >> calendar
>> > > >> > Default event time is not changed: (always set to be 14:00-15:00)
>> > > >> > The time displayed after creation is 03:00
>> > > >> >
>> > > >> > @Sebastian should I handle it? or you going to fix it yourself?
>> > > >> >
>> > > >> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
>> > > >> > <se...@gmail.com>wrote:
>> > > >> >
>> > > >> > > ok,
>> > > >> > >
>> > > >> > > let me describe you the current process:
>> > > >> > >
>> > > >> > > A client in timezone: Moscow (+0400)
>> > > >> > > A server in timezone: Berlin (+0200)
>> > > >> > >
>> > > >> > > The client generates a JavaScript Date Object (always in the
>> local
>> > > >> > timezone
>> > > >> > > of the User)
>> > > >> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
>> > > >> > > 2) Server will receive a java.util.Date in his local timezone:
>> > > >> > > The server method "saveAppointment" receives a Date Object:
>> > 14:00:00
>> > > >> > > 15.04.2012 CEST
>> > > >> > >
>> > > >> > > 3) This time is stored in the database (databases have no
>> timezone
>> > > >> info,
>> > > >> > > they only got timestamps, timestamps in database are alwas in
>> the
>> > > >> local
>> > > >> > > timezone of the server and that way need no timezone info).
>> > > >> > > 4) Time is retrieved from database, client requests the
>> Calendar
>> > via
>> > > >> the
>> > > >> > > REST WebService, date/time is calculated in the users timezone
>> > > >> > >
>> > > >> > > Something at 2) seems to be wrong. The rest is fine. It is
>> strange
>> > > to
>> > > >> me
>> > > >> > as
>> > > >> > > I have been successfully testing it.
>> > > >> > >
>> > > >> > > Sebastian
>> > > >> > >
>> > > >> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>> > > >> > >
>> > > >> > > > I'll try to debug,
>> > > >> > > >
>> > > >> > > > Irina seems to be able to reproduce it easily
>> > > >> > > >
>> > > >> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
>> > > >> > > > <ba...@gmail.com>wrote:
>> > > >> > > >
>> > > >> > > > > myne
>> > > >> > > > >
>> > > >> > > > > What timezone is your client machine? => IST gmt + 5.30
>> > > >> > > > > userprofile ==> IST gmt + 5.30
>> > > >> > > > > What timezone has the server machine? => Mon Apr 16
>> 23:55:22
>> > MDT
>> > > >> 2012
>> > > >> > > > > What timezone is the default timezone specified in the
>> > > >> OpenMeetings
>> > > >> > > > server?
>> > > >> > > > > =>Etc/GMT--7
>> > > >> > > > > What time is written in your db? =>  IST gmt + 5.30
>> > > >> > > > >
>> > > >> > > > > -regards
>> > > >> > > > > baskar
>> > > >> > > > >
>> > > >> > > > > What timezone is in the user-profile of your client
>> machine?
>> > =>
>> > > >> GMT+0
>> > > >> > > > > What timezone has the server machine? => GMT+0
>> > > >> > > > > What timezone is the default timezone specified in the
>> > > >> OpenMeetings
>> > > >> > > > server?
>> > > >> > > > > => GMT+0
>> > > >> > > > > What time is written in your db? => GMT+0 (because I
>> commented
>> > > all
>> > > >> > > others
>> > > >> > > > > timezones in the XML file and I set GMT+0 as default)
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > > > Mon Apr 16 23:55:22 MDT 2012
>> > > >> > > > >
>> > > >> > > > >
>> > > >> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
>> > > >> > > hamdi.thabet86@gmail.com
>> > > >> > > > > >wrote:
>> > > >> > > > >
>> > > >> > > > > >    What timezone is your client machine? => Win7 x64 -
>> > > Waterfox
>> > > >> x64
>> > > >> > > > > >  What timezone is in the user-profile of your client
>> > machine?
>> > > =>
>> > > >> > > GMT+0
>> > > >> > > > > > What timezone has the server machine? => GMT+0
>> > > >> > > > > > What timezone is the default timezone specified in the
>> > > >> OpenMeetings
>> > > >> > > > > > server? => GMT+0
>> > > >> > > > > > What time is written in your db? => GMT+0 (because I
>> > commented
>> > > >> all
>> > > >> > > > others
>> > > >> > > > > > timezones in the XML file and I set GMT+0 as default)
>> > > >> > > > > >
>> > > >> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I
>> tried
>> > > >> before
>> > > >> > > but
>> > > >> > > > > > there was the same problem in calendar.
>> > > >> > > > > >
>> > > >> > > > > >
>> > > >> > > > > >
>> > > >> > > > > >
>> > > >> > > > >
>> > > >> > > >
>> > > >> > > >
>> > > >> > > >
>> > > >> > > > --
>> > > >> > > > WBR
>> > > >> > > > Maxim aka solomax
>> > > >> > > >
>> > > >> > >
>> > > >> > >
>> > > >> > >
>> > > >> > > --
>> > > >> > > Sebastian Wagner
>> > > >> > > https://twitter.com/#!/dead_lock
>> > > >> > > http://www.openmeetings.de
>> > > >> > > http://www.webbase-design.de
>> > > >> > > http://www.wagner-sebastian.com
>> > > >> > > seba.wagner@gmail.com
>> > > >> > >
>> > > >> >
>> > > >> >
>> > > >> >
>> > > >> > --
>> > > >> > WBR
>> > > >> > Maxim aka solomax
>> > > >> >
>> > > >>
>> > > >>
>> > > >>
>> > > >> --
>> > > >> Sebastian Wagner
>> > > >> https://twitter.com/#!/dead_lock
>> > > >> http://www.openmeetings.de
>> > > >> http://www.webbase-design.de
>> > > >> http://www.wagner-sebastian.com
>> > > >> seba.wagner@gmail.com
>> > > >>
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > WBR
>> > > > Maxim aka solomax
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > WBR
>> > > Maxim aka solomax
>> > >
>> >
>> >
>> >
>> > --
>> > Sebastian Wagner
>> > https://twitter.com/#!/dead_lock
>> > http://www.openmeetings.de
>> > http://www.webbase-design.de
>> > http://www.wagner-sebastian.com
>> > seba.wagner@gmail.com
>> >
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I have spend quite a while to make everything working with Date objects
instead of using strings. I would like to keep that logic. Working with
real Date's has some advantages when you really calculate with them.

Sebastian

2012/4/17 Maxim Solodovnik <so...@gmail.com>

> The date is entered by user as String: "14:00" it can be passed to the
> server as string ...
> JS can be used for validation only (without any transformations)
>
> On Tue, Apr 17, 2012 at 15:00, seba.wagner@gmail.com
> <se...@gmail.com>wrote:
>
> > I don't think that a JavaScript Date can be create in any other timezone
> > then the default one.
> > http://www.w3schools.com/jsref/jsref_obj_date.asp
> >
> > There is no timezone information, you can only read the offset.
> > But you could use the method "setUTCDate" to set the time/date correctly.
> > But you would need to calc the UTC Date/time from the given date/time all
> > save/update event methods in the client.
> >
> > Sebastian
> >
> > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >
> > > Actually there is option to set correct timezone: You can pass date as
> > > date/string and create valid date object using Calendar
> > > with specifying current user TZ.
> > > Also Irina told me TZ is set correctly while event editing ...
> > >
> > > On Tue, Apr 17, 2012 at 14:46, Maxim Solodovnik <solomax666@gmail.com
> > > >wrote:
> > >
> > > > client machine timezone is GMT+7
> > > >
> > > >
> > > > On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com <
> > > > seba.wagner@gmail.com> wrote:
> > > >
> > > >> Just let me understand it first :)
> > > >>
> > > >> 2) default user TZ (GMT+7) (user level: admin)
> > > >> 3) another user TZ (GMT-4) (user level: user)
> > > >>
> > > >> => what is the timezone of the browser? I mean if you create a Date
> > > Object
> > > >> is JavaScript it always will have the timezone of the browser. There
> > is
> > > >> also no chance of changing that as JavaScript Date has no timezone
> > info
> > > >> ...
> > > >> same as java.util.Date.
> > > >> This could be a problem.
> > > >>
> > > >> Admin or user level has no influence from my point of view.
> > > >>
> > > >> Sebastian
> > > >>
> > > >> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> > > >>
> > > >> > OK
> > > >> >
> > > >> > Here are my steps:
> > > >> > 1) server TZ: MSK (GMT+3)
> > > >> > 2) default user TZ (GMT+7) (user level: admin)
> > > >> > 3) another user TZ (GMT-4) (user level: user)
> > > >> >
> > > >> > The issue is NOT reproducible for the default admin user
> > > >> > The issue is reproducible for "another user"
> > > >> >
> > > >> > The event created using both "New Event" button and click on the
> > > >> calendar
> > > >> > Default event time is not changed: (always set to be 14:00-15:00)
> > > >> > The time displayed after creation is 03:00
> > > >> >
> > > >> > @Sebastian should I handle it? or you going to fix it yourself?
> > > >> >
> > > >> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
> > > >> > <se...@gmail.com>wrote:
> > > >> >
> > > >> > > ok,
> > > >> > >
> > > >> > > let me describe you the current process:
> > > >> > >
> > > >> > > A client in timezone: Moscow (+0400)
> > > >> > > A server in timezone: Berlin (+0200)
> > > >> > >
> > > >> > > The client generates a JavaScript Date Object (always in the
> local
> > > >> > timezone
> > > >> > > of the User)
> > > >> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> > > >> > > 2) Server will receive a java.util.Date in his local timezone:
> > > >> > > The server method "saveAppointment" receives a Date Object:
> > 14:00:00
> > > >> > > 15.04.2012 CEST
> > > >> > >
> > > >> > > 3) This time is stored in the database (databases have no
> timezone
> > > >> info,
> > > >> > > they only got timestamps, timestamps in database are alwas in
> the
> > > >> local
> > > >> > > timezone of the server and that way need no timezone info).
> > > >> > > 4) Time is retrieved from database, client requests the Calendar
> > via
> > > >> the
> > > >> > > REST WebService, date/time is calculated in the users timezone
> > > >> > >
> > > >> > > Something at 2) seems to be wrong. The rest is fine. It is
> strange
> > > to
> > > >> me
> > > >> > as
> > > >> > > I have been successfully testing it.
> > > >> > >
> > > >> > > Sebastian
> > > >> > >
> > > >> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> > > >> > >
> > > >> > > > I'll try to debug,
> > > >> > > >
> > > >> > > > Irina seems to be able to reproduce it easily
> > > >> > > >
> > > >> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> > > >> > > > <ba...@gmail.com>wrote:
> > > >> > > >
> > > >> > > > > myne
> > > >> > > > >
> > > >> > > > > What timezone is your client machine? => IST gmt + 5.30
> > > >> > > > > userprofile ==> IST gmt + 5.30
> > > >> > > > > What timezone has the server machine? => Mon Apr 16 23:55:22
> > MDT
> > > >> 2012
> > > >> > > > > What timezone is the default timezone specified in the
> > > >> OpenMeetings
> > > >> > > > server?
> > > >> > > > > =>Etc/GMT--7
> > > >> > > > > What time is written in your db? =>  IST gmt + 5.30
> > > >> > > > >
> > > >> > > > > -regards
> > > >> > > > > baskar
> > > >> > > > >
> > > >> > > > > What timezone is in the user-profile of your client machine?
> > =>
> > > >> GMT+0
> > > >> > > > > What timezone has the server machine? => GMT+0
> > > >> > > > > What timezone is the default timezone specified in the
> > > >> OpenMeetings
> > > >> > > > server?
> > > >> > > > > => GMT+0
> > > >> > > > > What time is written in your db? => GMT+0 (because I
> commented
> > > all
> > > >> > > others
> > > >> > > > > timezones in the XML file and I set GMT+0 as default)
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Mon Apr 16 23:55:22 MDT 2012
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> > > >> > > hamdi.thabet86@gmail.com
> > > >> > > > > >wrote:
> > > >> > > > >
> > > >> > > > > >    What timezone is your client machine? => Win7 x64 -
> > > Waterfox
> > > >> x64
> > > >> > > > > >  What timezone is in the user-profile of your client
> > machine?
> > > =>
> > > >> > > GMT+0
> > > >> > > > > > What timezone has the server machine? => GMT+0
> > > >> > > > > > What timezone is the default timezone specified in the
> > > >> OpenMeetings
> > > >> > > > > > server? => GMT+0
> > > >> > > > > > What time is written in your db? => GMT+0 (because I
> > commented
> > > >> all
> > > >> > > > others
> > > >> > > > > > timezones in the XML file and I set GMT+0 as default)
> > > >> > > > > >
> > > >> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I
> tried
> > > >> before
> > > >> > > but
> > > >> > > > > > there was the same problem in calendar.
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > --
> > > >> > > > WBR
> > > >> > > > Maxim aka solomax
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > > Sebastian Wagner
> > > >> > > https://twitter.com/#!/dead_lock
> > > >> > > http://www.openmeetings.de
> > > >> > > http://www.webbase-design.de
> > > >> > > http://www.wagner-sebastian.com
> > > >> > > seba.wagner@gmail.com
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > WBR
> > > >> > Maxim aka solomax
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Sebastian Wagner
> > > >> https://twitter.com/#!/dead_lock
> > > >> http://www.openmeetings.de
> > > >> http://www.webbase-design.de
> > > >> http://www.wagner-sebastian.com
> > > >> seba.wagner@gmail.com
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
The date is entered by user as String: "14:00" it can be passed to the
server as string ...
JS can be used for validation only (without any transformations)

On Tue, Apr 17, 2012 at 15:00, seba.wagner@gmail.com
<se...@gmail.com>wrote:

> I don't think that a JavaScript Date can be create in any other timezone
> then the default one.
> http://www.w3schools.com/jsref/jsref_obj_date.asp
>
> There is no timezone information, you can only read the offset.
> But you could use the method "setUTCDate" to set the time/date correctly.
> But you would need to calc the UTC Date/time from the given date/time all
> save/update event methods in the client.
>
> Sebastian
>
> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>
> > Actually there is option to set correct timezone: You can pass date as
> > date/string and create valid date object using Calendar
> > with specifying current user TZ.
> > Also Irina told me TZ is set correctly while event editing ...
> >
> > On Tue, Apr 17, 2012 at 14:46, Maxim Solodovnik <solomax666@gmail.com
> > >wrote:
> >
> > > client machine timezone is GMT+7
> > >
> > >
> > > On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com <
> > > seba.wagner@gmail.com> wrote:
> > >
> > >> Just let me understand it first :)
> > >>
> > >> 2) default user TZ (GMT+7) (user level: admin)
> > >> 3) another user TZ (GMT-4) (user level: user)
> > >>
> > >> => what is the timezone of the browser? I mean if you create a Date
> > Object
> > >> is JavaScript it always will have the timezone of the browser. There
> is
> > >> also no chance of changing that as JavaScript Date has no timezone
> info
> > >> ...
> > >> same as java.util.Date.
> > >> This could be a problem.
> > >>
> > >> Admin or user level has no influence from my point of view.
> > >>
> > >> Sebastian
> > >>
> > >> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> > >>
> > >> > OK
> > >> >
> > >> > Here are my steps:
> > >> > 1) server TZ: MSK (GMT+3)
> > >> > 2) default user TZ (GMT+7) (user level: admin)
> > >> > 3) another user TZ (GMT-4) (user level: user)
> > >> >
> > >> > The issue is NOT reproducible for the default admin user
> > >> > The issue is reproducible for "another user"
> > >> >
> > >> > The event created using both "New Event" button and click on the
> > >> calendar
> > >> > Default event time is not changed: (always set to be 14:00-15:00)
> > >> > The time displayed after creation is 03:00
> > >> >
> > >> > @Sebastian should I handle it? or you going to fix it yourself?
> > >> >
> > >> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
> > >> > <se...@gmail.com>wrote:
> > >> >
> > >> > > ok,
> > >> > >
> > >> > > let me describe you the current process:
> > >> > >
> > >> > > A client in timezone: Moscow (+0400)
> > >> > > A server in timezone: Berlin (+0200)
> > >> > >
> > >> > > The client generates a JavaScript Date Object (always in the local
> > >> > timezone
> > >> > > of the User)
> > >> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> > >> > > 2) Server will receive a java.util.Date in his local timezone:
> > >> > > The server method "saveAppointment" receives a Date Object:
> 14:00:00
> > >> > > 15.04.2012 CEST
> > >> > >
> > >> > > 3) This time is stored in the database (databases have no timezone
> > >> info,
> > >> > > they only got timestamps, timestamps in database are alwas in the
> > >> local
> > >> > > timezone of the server and that way need no timezone info).
> > >> > > 4) Time is retrieved from database, client requests the Calendar
> via
> > >> the
> > >> > > REST WebService, date/time is calculated in the users timezone
> > >> > >
> > >> > > Something at 2) seems to be wrong. The rest is fine. It is strange
> > to
> > >> me
> > >> > as
> > >> > > I have been successfully testing it.
> > >> > >
> > >> > > Sebastian
> > >> > >
> > >> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> > >> > >
> > >> > > > I'll try to debug,
> > >> > > >
> > >> > > > Irina seems to be able to reproduce it easily
> > >> > > >
> > >> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> > >> > > > <ba...@gmail.com>wrote:
> > >> > > >
> > >> > > > > myne
> > >> > > > >
> > >> > > > > What timezone is your client machine? => IST gmt + 5.30
> > >> > > > > userprofile ==> IST gmt + 5.30
> > >> > > > > What timezone has the server machine? => Mon Apr 16 23:55:22
> MDT
> > >> 2012
> > >> > > > > What timezone is the default timezone specified in the
> > >> OpenMeetings
> > >> > > > server?
> > >> > > > > =>Etc/GMT--7
> > >> > > > > What time is written in your db? =>  IST gmt + 5.30
> > >> > > > >
> > >> > > > > -regards
> > >> > > > > baskar
> > >> > > > >
> > >> > > > > What timezone is in the user-profile of your client machine?
> =>
> > >> GMT+0
> > >> > > > > What timezone has the server machine? => GMT+0
> > >> > > > > What timezone is the default timezone specified in the
> > >> OpenMeetings
> > >> > > > server?
> > >> > > > > => GMT+0
> > >> > > > > What time is written in your db? => GMT+0 (because I commented
> > all
> > >> > > others
> > >> > > > > timezones in the XML file and I set GMT+0 as default)
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > Mon Apr 16 23:55:22 MDT 2012
> > >> > > > >
> > >> > > > >
> > >> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> > >> > > hamdi.thabet86@gmail.com
> > >> > > > > >wrote:
> > >> > > > >
> > >> > > > > >    What timezone is your client machine? => Win7 x64 -
> > Waterfox
> > >> x64
> > >> > > > > >  What timezone is in the user-profile of your client
> machine?
> > =>
> > >> > > GMT+0
> > >> > > > > > What timezone has the server machine? => GMT+0
> > >> > > > > > What timezone is the default timezone specified in the
> > >> OpenMeetings
> > >> > > > > > server? => GMT+0
> > >> > > > > > What time is written in your db? => GMT+0 (because I
> commented
> > >> all
> > >> > > > others
> > >> > > > > > timezones in the XML file and I set GMT+0 as default)
> > >> > > > > >
> > >> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I tried
> > >> before
> > >> > > but
> > >> > > > > > there was the same problem in calendar.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > --
> > >> > > > WBR
> > >> > > > Maxim aka solomax
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > > Sebastian Wagner
> > >> > > https://twitter.com/#!/dead_lock
> > >> > > http://www.openmeetings.de
> > >> > > http://www.webbase-design.de
> > >> > > http://www.wagner-sebastian.com
> > >> > > seba.wagner@gmail.com
> > >> > >
> > >> >
> > >> >
> > >> >
> > >> > --
> > >> > WBR
> > >> > Maxim aka solomax
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Sebastian Wagner
> > >> https://twitter.com/#!/dead_lock
> > >> http://www.openmeetings.de
> > >> http://www.webbase-design.de
> > >> http://www.wagner-sebastian.com
> > >> seba.wagner@gmail.com
> > >>
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I don't think that a JavaScript Date can be create in any other timezone
then the default one.
http://www.w3schools.com/jsref/jsref_obj_date.asp

There is no timezone information, you can only read the offset.
But you could use the method "setUTCDate" to set the time/date correctly.
But you would need to calc the UTC Date/time from the given date/time all
save/update event methods in the client.

Sebastian

2012/4/17 Maxim Solodovnik <so...@gmail.com>

> Actually there is option to set correct timezone: You can pass date as
> date/string and create valid date object using Calendar
> with specifying current user TZ.
> Also Irina told me TZ is set correctly while event editing ...
>
> On Tue, Apr 17, 2012 at 14:46, Maxim Solodovnik <solomax666@gmail.com
> >wrote:
>
> > client machine timezone is GMT+7
> >
> >
> > On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com <
> > seba.wagner@gmail.com> wrote:
> >
> >> Just let me understand it first :)
> >>
> >> 2) default user TZ (GMT+7) (user level: admin)
> >> 3) another user TZ (GMT-4) (user level: user)
> >>
> >> => what is the timezone of the browser? I mean if you create a Date
> Object
> >> is JavaScript it always will have the timezone of the browser. There is
> >> also no chance of changing that as JavaScript Date has no timezone info
> >> ...
> >> same as java.util.Date.
> >> This could be a problem.
> >>
> >> Admin or user level has no influence from my point of view.
> >>
> >> Sebastian
> >>
> >> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >>
> >> > OK
> >> >
> >> > Here are my steps:
> >> > 1) server TZ: MSK (GMT+3)
> >> > 2) default user TZ (GMT+7) (user level: admin)
> >> > 3) another user TZ (GMT-4) (user level: user)
> >> >
> >> > The issue is NOT reproducible for the default admin user
> >> > The issue is reproducible for "another user"
> >> >
> >> > The event created using both "New Event" button and click on the
> >> calendar
> >> > Default event time is not changed: (always set to be 14:00-15:00)
> >> > The time displayed after creation is 03:00
> >> >
> >> > @Sebastian should I handle it? or you going to fix it yourself?
> >> >
> >> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
> >> > <se...@gmail.com>wrote:
> >> >
> >> > > ok,
> >> > >
> >> > > let me describe you the current process:
> >> > >
> >> > > A client in timezone: Moscow (+0400)
> >> > > A server in timezone: Berlin (+0200)
> >> > >
> >> > > The client generates a JavaScript Date Object (always in the local
> >> > timezone
> >> > > of the User)
> >> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> >> > > 2) Server will receive a java.util.Date in his local timezone:
> >> > > The server method "saveAppointment" receives a Date Object: 14:00:00
> >> > > 15.04.2012 CEST
> >> > >
> >> > > 3) This time is stored in the database (databases have no timezone
> >> info,
> >> > > they only got timestamps, timestamps in database are alwas in the
> >> local
> >> > > timezone of the server and that way need no timezone info).
> >> > > 4) Time is retrieved from database, client requests the Calendar via
> >> the
> >> > > REST WebService, date/time is calculated in the users timezone
> >> > >
> >> > > Something at 2) seems to be wrong. The rest is fine. It is strange
> to
> >> me
> >> > as
> >> > > I have been successfully testing it.
> >> > >
> >> > > Sebastian
> >> > >
> >> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >> > >
> >> > > > I'll try to debug,
> >> > > >
> >> > > > Irina seems to be able to reproduce it easily
> >> > > >
> >> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> >> > > > <ba...@gmail.com>wrote:
> >> > > >
> >> > > > > myne
> >> > > > >
> >> > > > > What timezone is your client machine? => IST gmt + 5.30
> >> > > > > userprofile ==> IST gmt + 5.30
> >> > > > > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT
> >> 2012
> >> > > > > What timezone is the default timezone specified in the
> >> OpenMeetings
> >> > > > server?
> >> > > > > =>Etc/GMT--7
> >> > > > > What time is written in your db? =>  IST gmt + 5.30
> >> > > > >
> >> > > > > -regards
> >> > > > > baskar
> >> > > > >
> >> > > > > What timezone is in the user-profile of your client machine? =>
> >> GMT+0
> >> > > > > What timezone has the server machine? => GMT+0
> >> > > > > What timezone is the default timezone specified in the
> >> OpenMeetings
> >> > > > server?
> >> > > > > => GMT+0
> >> > > > > What time is written in your db? => GMT+0 (because I commented
> all
> >> > > others
> >> > > > > timezones in the XML file and I set GMT+0 as default)
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > Mon Apr 16 23:55:22 MDT 2012
> >> > > > >
> >> > > > >
> >> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> >> > > hamdi.thabet86@gmail.com
> >> > > > > >wrote:
> >> > > > >
> >> > > > > >    What timezone is your client machine? => Win7 x64 -
> Waterfox
> >> x64
> >> > > > > >  What timezone is in the user-profile of your client machine?
> =>
> >> > > GMT+0
> >> > > > > > What timezone has the server machine? => GMT+0
> >> > > > > > What timezone is the default timezone specified in the
> >> OpenMeetings
> >> > > > > > server? => GMT+0
> >> > > > > > What time is written in your db? => GMT+0 (because I commented
> >> all
> >> > > > others
> >> > > > > > timezones in the XML file and I set GMT+0 as default)
> >> > > > > >
> >> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I tried
> >> before
> >> > > but
> >> > > > > > there was the same problem in calendar.
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > --
> >> > > > WBR
> >> > > > Maxim aka solomax
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Sebastian Wagner
> >> > > https://twitter.com/#!/dead_lock
> >> > > http://www.openmeetings.de
> >> > > http://www.webbase-design.de
> >> > > http://www.wagner-sebastian.com
> >> > > seba.wagner@gmail.com
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > WBR
> >> > Maxim aka solomax
> >> >
> >>
> >>
> >>
> >> --
> >> Sebastian Wagner
> >> https://twitter.com/#!/dead_lock
> >> http://www.openmeetings.de
> >> http://www.webbase-design.de
> >> http://www.wagner-sebastian.com
> >> seba.wagner@gmail.com
> >>
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
Actually there is option to set correct timezone: You can pass date as
date/string and create valid date object using Calendar
with specifying current user TZ.
Also Irina told me TZ is set correctly while event editing ...

On Tue, Apr 17, 2012 at 14:46, Maxim Solodovnik <so...@gmail.com>wrote:

> client machine timezone is GMT+7
>
>
> On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
>> Just let me understand it first :)
>>
>> 2) default user TZ (GMT+7) (user level: admin)
>> 3) another user TZ (GMT-4) (user level: user)
>>
>> => what is the timezone of the browser? I mean if you create a Date Object
>> is JavaScript it always will have the timezone of the browser. There is
>> also no chance of changing that as JavaScript Date has no timezone info
>> ...
>> same as java.util.Date.
>> This could be a problem.
>>
>> Admin or user level has no influence from my point of view.
>>
>> Sebastian
>>
>> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>>
>> > OK
>> >
>> > Here are my steps:
>> > 1) server TZ: MSK (GMT+3)
>> > 2) default user TZ (GMT+7) (user level: admin)
>> > 3) another user TZ (GMT-4) (user level: user)
>> >
>> > The issue is NOT reproducible for the default admin user
>> > The issue is reproducible for "another user"
>> >
>> > The event created using both "New Event" button and click on the
>> calendar
>> > Default event time is not changed: (always set to be 14:00-15:00)
>> > The time displayed after creation is 03:00
>> >
>> > @Sebastian should I handle it? or you going to fix it yourself?
>> >
>> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
>> > <se...@gmail.com>wrote:
>> >
>> > > ok,
>> > >
>> > > let me describe you the current process:
>> > >
>> > > A client in timezone: Moscow (+0400)
>> > > A server in timezone: Berlin (+0200)
>> > >
>> > > The client generates a JavaScript Date Object (always in the local
>> > timezone
>> > > of the User)
>> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
>> > > 2) Server will receive a java.util.Date in his local timezone:
>> > > The server method "saveAppointment" receives a Date Object: 14:00:00
>> > > 15.04.2012 CEST
>> > >
>> > > 3) This time is stored in the database (databases have no timezone
>> info,
>> > > they only got timestamps, timestamps in database are alwas in the
>> local
>> > > timezone of the server and that way need no timezone info).
>> > > 4) Time is retrieved from database, client requests the Calendar via
>> the
>> > > REST WebService, date/time is calculated in the users timezone
>> > >
>> > > Something at 2) seems to be wrong. The rest is fine. It is strange to
>> me
>> > as
>> > > I have been successfully testing it.
>> > >
>> > > Sebastian
>> > >
>> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>> > >
>> > > > I'll try to debug,
>> > > >
>> > > > Irina seems to be able to reproduce it easily
>> > > >
>> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
>> > > > <ba...@gmail.com>wrote:
>> > > >
>> > > > > myne
>> > > > >
>> > > > > What timezone is your client machine? => IST gmt + 5.30
>> > > > > userprofile ==> IST gmt + 5.30
>> > > > > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT
>> 2012
>> > > > > What timezone is the default timezone specified in the
>> OpenMeetings
>> > > > server?
>> > > > > =>Etc/GMT--7
>> > > > > What time is written in your db? =>  IST gmt + 5.30
>> > > > >
>> > > > > -regards
>> > > > > baskar
>> > > > >
>> > > > > What timezone is in the user-profile of your client machine? =>
>> GMT+0
>> > > > > What timezone has the server machine? => GMT+0
>> > > > > What timezone is the default timezone specified in the
>> OpenMeetings
>> > > > server?
>> > > > > => GMT+0
>> > > > > What time is written in your db? => GMT+0 (because I commented all
>> > > others
>> > > > > timezones in the XML file and I set GMT+0 as default)
>> > > > >
>> > > > >
>> > > > >
>> > > > > Mon Apr 16 23:55:22 MDT 2012
>> > > > >
>> > > > >
>> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
>> > > hamdi.thabet86@gmail.com
>> > > > > >wrote:
>> > > > >
>> > > > > >    What timezone is your client machine? => Win7 x64 - Waterfox
>> x64
>> > > > > >  What timezone is in the user-profile of your client machine? =>
>> > > GMT+0
>> > > > > > What timezone has the server machine? => GMT+0
>> > > > > > What timezone is the default timezone specified in the
>> OpenMeetings
>> > > > > > server? => GMT+0
>> > > > > > What time is written in your db? => GMT+0 (because I commented
>> all
>> > > > others
>> > > > > > timezones in the XML file and I set GMT+0 as default)
>> > > > > >
>> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I tried
>> before
>> > > but
>> > > > > > there was the same problem in calendar.
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > WBR
>> > > > Maxim aka solomax
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Sebastian Wagner
>> > > https://twitter.com/#!/dead_lock
>> > > http://www.openmeetings.de
>> > > http://www.webbase-design.de
>> > > http://www.wagner-sebastian.com
>> > > seba.wagner@gmail.com
>> > >
>> >
>> >
>> >
>> > --
>> > WBR
>> > Maxim aka solomax
>> >
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
client machine timezone is GMT+7

On Tue, Apr 17, 2012 at 14:44, seba.wagner@gmail.com
<se...@gmail.com>wrote:

> Just let me understand it first :)
>
> 2) default user TZ (GMT+7) (user level: admin)
> 3) another user TZ (GMT-4) (user level: user)
>
> => what is the timezone of the browser? I mean if you create a Date Object
> is JavaScript it always will have the timezone of the browser. There is
> also no chance of changing that as JavaScript Date has no timezone info ...
> same as java.util.Date.
> This could be a problem.
>
> Admin or user level has no influence from my point of view.
>
> Sebastian
>
> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>
> > OK
> >
> > Here are my steps:
> > 1) server TZ: MSK (GMT+3)
> > 2) default user TZ (GMT+7) (user level: admin)
> > 3) another user TZ (GMT-4) (user level: user)
> >
> > The issue is NOT reproducible for the default admin user
> > The issue is reproducible for "another user"
> >
> > The event created using both "New Event" button and click on the calendar
> > Default event time is not changed: (always set to be 14:00-15:00)
> > The time displayed after creation is 03:00
> >
> > @Sebastian should I handle it? or you going to fix it yourself?
> >
> > On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
> > <se...@gmail.com>wrote:
> >
> > > ok,
> > >
> > > let me describe you the current process:
> > >
> > > A client in timezone: Moscow (+0400)
> > > A server in timezone: Berlin (+0200)
> > >
> > > The client generates a JavaScript Date Object (always in the local
> > timezone
> > > of the User)
> > > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> > > 2) Server will receive a java.util.Date in his local timezone:
> > > The server method "saveAppointment" receives a Date Object: 14:00:00
> > > 15.04.2012 CEST
> > >
> > > 3) This time is stored in the database (databases have no timezone
> info,
> > > they only got timestamps, timestamps in database are alwas in the local
> > > timezone of the server and that way need no timezone info).
> > > 4) Time is retrieved from database, client requests the Calendar via
> the
> > > REST WebService, date/time is calculated in the users timezone
> > >
> > > Something at 2) seems to be wrong. The rest is fine. It is strange to
> me
> > as
> > > I have been successfully testing it.
> > >
> > > Sebastian
> > >
> > > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> > >
> > > > I'll try to debug,
> > > >
> > > > Irina seems to be able to reproduce it easily
> > > >
> > > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> > > > <ba...@gmail.com>wrote:
> > > >
> > > > > myne
> > > > >
> > > > > What timezone is your client machine? => IST gmt + 5.30
> > > > > userprofile ==> IST gmt + 5.30
> > > > > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT
> 2012
> > > > > What timezone is the default timezone specified in the OpenMeetings
> > > > server?
> > > > > =>Etc/GMT--7
> > > > > What time is written in your db? =>  IST gmt + 5.30
> > > > >
> > > > > -regards
> > > > > baskar
> > > > >
> > > > > What timezone is in the user-profile of your client machine? =>
> GMT+0
> > > > > What timezone has the server machine? => GMT+0
> > > > > What timezone is the default timezone specified in the OpenMeetings
> > > > server?
> > > > > => GMT+0
> > > > > What time is written in your db? => GMT+0 (because I commented all
> > > others
> > > > > timezones in the XML file and I set GMT+0 as default)
> > > > >
> > > > >
> > > > >
> > > > > Mon Apr 16 23:55:22 MDT 2012
> > > > >
> > > > >
> > > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> > > hamdi.thabet86@gmail.com
> > > > > >wrote:
> > > > >
> > > > > >    What timezone is your client machine? => Win7 x64 - Waterfox
> x64
> > > > > >  What timezone is in the user-profile of your client machine? =>
> > > GMT+0
> > > > > > What timezone has the server machine? => GMT+0
> > > > > > What timezone is the default timezone specified in the
> OpenMeetings
> > > > > > server? => GMT+0
> > > > > > What time is written in your db? => GMT+0 (because I commented
> all
> > > > others
> > > > > > timezones in the XML file and I set GMT+0 as default)
> > > > > >
> > > > > > I'm in Tunisia, I normally I need the "GMT+1" which I tried
> before
> > > but
> > > > > > there was the same problem in calendar.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> > >
> > >
> > > --
> > > Sebastian Wagner
> > > https://twitter.com/#!/dead_lock
> > > http://www.openmeetings.de
> > > http://www.webbase-design.de
> > > http://www.wagner-sebastian.com
> > > seba.wagner@gmail.com
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Just let me understand it first :)

2) default user TZ (GMT+7) (user level: admin)
3) another user TZ (GMT-4) (user level: user)

=> what is the timezone of the browser? I mean if you create a Date Object
is JavaScript it always will have the timezone of the browser. There is
also no chance of changing that as JavaScript Date has no timezone info ...
same as java.util.Date.
This could be a problem.

Admin or user level has no influence from my point of view.

Sebastian

2012/4/17 Maxim Solodovnik <so...@gmail.com>

> OK
>
> Here are my steps:
> 1) server TZ: MSK (GMT+3)
> 2) default user TZ (GMT+7) (user level: admin)
> 3) another user TZ (GMT-4) (user level: user)
>
> The issue is NOT reproducible for the default admin user
> The issue is reproducible for "another user"
>
> The event created using both "New Event" button and click on the calendar
> Default event time is not changed: (always set to be 14:00-15:00)
> The time displayed after creation is 03:00
>
> @Sebastian should I handle it? or you going to fix it yourself?
>
> On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
> <se...@gmail.com>wrote:
>
> > ok,
> >
> > let me describe you the current process:
> >
> > A client in timezone: Moscow (+0400)
> > A server in timezone: Berlin (+0200)
> >
> > The client generates a JavaScript Date Object (always in the local
> timezone
> > of the User)
> > 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> > 2) Server will receive a java.util.Date in his local timezone:
> > The server method "saveAppointment" receives a Date Object: 14:00:00
> > 15.04.2012 CEST
> >
> > 3) This time is stored in the database (databases have no timezone info,
> > they only got timestamps, timestamps in database are alwas in the local
> > timezone of the server and that way need no timezone info).
> > 4) Time is retrieved from database, client requests the Calendar via the
> > REST WebService, date/time is calculated in the users timezone
> >
> > Something at 2) seems to be wrong. The rest is fine. It is strange to me
> as
> > I have been successfully testing it.
> >
> > Sebastian
> >
> > 2012/4/17 Maxim Solodovnik <so...@gmail.com>
> >
> > > I'll try to debug,
> > >
> > > Irina seems to be able to reproduce it easily
> > >
> > > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> > > <ba...@gmail.com>wrote:
> > >
> > > > myne
> > > >
> > > > What timezone is your client machine? => IST gmt + 5.30
> > > > userprofile ==> IST gmt + 5.30
> > > > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
> > > > What timezone is the default timezone specified in the OpenMeetings
> > > server?
> > > > =>Etc/GMT--7
> > > > What time is written in your db? =>  IST gmt + 5.30
> > > >
> > > > -regards
> > > > baskar
> > > >
> > > > What timezone is in the user-profile of your client machine? => GMT+0
> > > > What timezone has the server machine? => GMT+0
> > > > What timezone is the default timezone specified in the OpenMeetings
> > > server?
> > > > => GMT+0
> > > > What time is written in your db? => GMT+0 (because I commented all
> > others
> > > > timezones in the XML file and I set GMT+0 as default)
> > > >
> > > >
> > > >
> > > > Mon Apr 16 23:55:22 MDT 2012
> > > >
> > > >
> > > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> > hamdi.thabet86@gmail.com
> > > > >wrote:
> > > >
> > > > >    What timezone is your client machine? => Win7 x64 - Waterfox x64
> > > > >  What timezone is in the user-profile of your client machine? =>
> > GMT+0
> > > > > What timezone has the server machine? => GMT+0
> > > > > What timezone is the default timezone specified in the OpenMeetings
> > > > > server? => GMT+0
> > > > > What time is written in your db? => GMT+0 (because I commented all
> > > others
> > > > > timezones in the XML file and I set GMT+0 as default)
> > > > >
> > > > > I'm in Tunisia, I normally I need the "GMT+1" which I tried before
> > but
> > > > > there was the same problem in calendar.
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > WBR
> > > Maxim aka solomax
> > >
> >
> >
> >
> > --
> > Sebastian Wagner
> > https://twitter.com/#!/dead_lock
> > http://www.openmeetings.de
> > http://www.webbase-design.de
> > http://www.wagner-sebastian.com
> > seba.wagner@gmail.com
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
OK

Here are my steps:
1) server TZ: MSK (GMT+3)
2) default user TZ (GMT+7) (user level: admin)
3) another user TZ (GMT-4) (user level: user)

The issue is NOT reproducible for the default admin user
The issue is reproducible for "another user"

The event created using both "New Event" button and click on the calendar
Default event time is not changed: (always set to be 14:00-15:00)
The time displayed after creation is 03:00

@Sebastian should I handle it? or you going to fix it yourself?

On Tue, Apr 17, 2012 at 14:17, seba.wagner@gmail.com
<se...@gmail.com>wrote:

> ok,
>
> let me describe you the current process:
>
> A client in timezone: Moscow (+0400)
> A server in timezone: Berlin (+0200)
>
> The client generates a JavaScript Date Object (always in the local timezone
> of the User)
> 1) The client sends Date Object: 16:00:00 15.04.2012 MTC
> 2) Server will receive a java.util.Date in his local timezone:
> The server method "saveAppointment" receives a Date Object: 14:00:00
> 15.04.2012 CEST
>
> 3) This time is stored in the database (databases have no timezone info,
> they only got timestamps, timestamps in database are alwas in the local
> timezone of the server and that way need no timezone info).
> 4) Time is retrieved from database, client requests the Calendar via the
> REST WebService, date/time is calculated in the users timezone
>
> Something at 2) seems to be wrong. The rest is fine. It is strange to me as
> I have been successfully testing it.
>
> Sebastian
>
> 2012/4/17 Maxim Solodovnik <so...@gmail.com>
>
> > I'll try to debug,
> >
> > Irina seems to be able to reproduce it easily
> >
> > On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> > <ba...@gmail.com>wrote:
> >
> > > myne
> > >
> > > What timezone is your client machine? => IST gmt + 5.30
> > > userprofile ==> IST gmt + 5.30
> > > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
> > > What timezone is the default timezone specified in the OpenMeetings
> > server?
> > > =>Etc/GMT--7
> > > What time is written in your db? =>  IST gmt + 5.30
> > >
> > > -regards
> > > baskar
> > >
> > > What timezone is in the user-profile of your client machine? => GMT+0
> > > What timezone has the server machine? => GMT+0
> > > What timezone is the default timezone specified in the OpenMeetings
> > server?
> > > => GMT+0
> > > What time is written in your db? => GMT+0 (because I commented all
> others
> > > timezones in the XML file and I set GMT+0 as default)
> > >
> > >
> > >
> > > Mon Apr 16 23:55:22 MDT 2012
> > >
> > >
> > > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <
> hamdi.thabet86@gmail.com
> > > >wrote:
> > >
> > > >    What timezone is your client machine? => Win7 x64 - Waterfox x64
> > > >  What timezone is in the user-profile of your client machine? =>
> GMT+0
> > > > What timezone has the server machine? => GMT+0
> > > > What timezone is the default timezone specified in the OpenMeetings
> > > > server? => GMT+0
> > > > What time is written in your db? => GMT+0 (because I commented all
> > others
> > > > timezones in the XML file and I set GMT+0 as default)
> > > >
> > > > I'm in Tunisia, I normally I need the "GMT+1" which I tried before
> but
> > > > there was the same problem in calendar.
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
ok,

let me describe you the current process:

A client in timezone: Moscow (+0400)
A server in timezone: Berlin (+0200)

The client generates a JavaScript Date Object (always in the local timezone
of the User)
1) The client sends Date Object: 16:00:00 15.04.2012 MTC
2) Server will receive a java.util.Date in his local timezone:
The server method "saveAppointment" receives a Date Object: 14:00:00
15.04.2012 CEST

3) This time is stored in the database (databases have no timezone info,
they only got timestamps, timestamps in database are alwas in the local
timezone of the server and that way need no timezone info).
4) Time is retrieved from database, client requests the Calendar via the
REST WebService, date/time is calculated in the users timezone

Something at 2) seems to be wrong. The rest is fine. It is strange to me as
I have been successfully testing it.

Sebastian

2012/4/17 Maxim Solodovnik <so...@gmail.com>

> I'll try to debug,
>
> Irina seems to be able to reproduce it easily
>
> On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
> <ba...@gmail.com>wrote:
>
> > myne
> >
> > What timezone is your client machine? => IST gmt + 5.30
> > userprofile ==> IST gmt + 5.30
> > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
> > What timezone is the default timezone specified in the OpenMeetings
> server?
> > =>Etc/GMT--7
> > What time is written in your db? =>  IST gmt + 5.30
> >
> > -regards
> > baskar
> >
> > What timezone is in the user-profile of your client machine? => GMT+0
> > What timezone has the server machine? => GMT+0
> > What timezone is the default timezone specified in the OpenMeetings
> server?
> > => GMT+0
> > What time is written in your db? => GMT+0 (because I commented all others
> > timezones in the XML file and I set GMT+0 as default)
> >
> >
> >
> > Mon Apr 16 23:55:22 MDT 2012
> >
> >
> > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <hamdi.thabet86@gmail.com
> > >wrote:
> >
> > >    What timezone is your client machine? => Win7 x64 - Waterfox x64
> > >  What timezone is in the user-profile of your client machine? => GMT+0
> > > What timezone has the server machine? => GMT+0
> > > What timezone is the default timezone specified in the OpenMeetings
> > > server? => GMT+0
> > > What time is written in your db? => GMT+0 (because I commented all
> others
> > > timezones in the XML file and I set GMT+0 as default)
> > >
> > > I'm in Tunisia, I normally I need the "GMT+1" which I tried before but
> > > there was the same problem in calendar.
> > >
> > >
> > >
> > >
> >
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Timezone & Time pb !

Posted by Maxim Solodovnik <so...@gmail.com>.
I'll try to debug,

Irina seems to be able to reproduce it easily

On Tue, Apr 17, 2012 at 13:03, Baskar Rajendran
<ba...@gmail.com>wrote:

> myne
>
> What timezone is your client machine? => IST gmt + 5.30
> userprofile ==> IST gmt + 5.30
> What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
> What timezone is the default timezone specified in the OpenMeetings server?
> =>Etc/GMT--7
> What time is written in your db? =>  IST gmt + 5.30
>
> -regards
> baskar
>
> What timezone is in the user-profile of your client machine? => GMT+0
> What timezone has the server machine? => GMT+0
> What timezone is the default timezone specified in the OpenMeetings server?
> => GMT+0
> What time is written in your db? => GMT+0 (because I commented all others
> timezones in the XML file and I set GMT+0 as default)
>
>
>
> Mon Apr 16 23:55:22 MDT 2012
>
>
> On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <hamdi.thabet86@gmail.com
> >wrote:
>
> >    What timezone is your client machine? => Win7 x64 - Waterfox x64
> >  What timezone is in the user-profile of your client machine? => GMT+0
> > What timezone has the server machine? => GMT+0
> > What timezone is the default timezone specified in the OpenMeetings
> > server? => GMT+0
> > What time is written in your db? => GMT+0 (because I commented all others
> > timezones in the XML file and I set GMT+0 as default)
> >
> > I'm in Tunisia, I normally I need the "GMT+1" which I tried before but
> > there was the same problem in calendar.
> >
> >
> >
> >
>



-- 
WBR
Maxim aka solomax

Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
sorry the time written in db is ===> server timestamp

On Tue, Apr 17, 2012 at 12:36 PM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:

> "What time is written in your db? =>  IST gmt + 5.30"
> => that is impossible, the fields appointment_starttime and
> appointment_endtime are timestamp that do not contain any timezone info.
> They are always in the timezone of the server machine.
>
> Sebastian
>
> 2012/4/17 Baskar Rajendran <ba...@gmail.com>
>
> > myne
> >
> > What timezone is your client machine? => IST gmt + 5.30
> > userprofile ==> IST gmt + 5.30
> > What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
> > What timezone is the default timezone specified in the OpenMeetings
> server?
> > =>Etc/GMT--7
> > What time is written in your db? =>  IST gmt + 5.30
> >
> > -regards
> > baskar
> >
> > What timezone is in the user-profile of your client machine? => GMT+0
> > What timezone has the server machine? => GMT+0
> > What timezone is the default timezone specified in the OpenMeetings
> server?
> > => GMT+0
> > What time is written in your db? => GMT+0 (because I commented all others
> > timezones in the XML file and I set GMT+0 as default)
> >
> >
> >
> > Mon Apr 16 23:55:22 MDT 2012
> >
> >
> > On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <hamdi.thabet86@gmail.com
> > >wrote:
> >
> > >    What timezone is your client machine? => Win7 x64 - Waterfox x64
> > >  What timezone is in the user-profile of your client machine? => GMT+0
> > > What timezone has the server machine? => GMT+0
> > > What timezone is the default timezone specified in the OpenMeetings
> > > server? => GMT+0
> > > What time is written in your db? => GMT+0 (because I commented all
> others
> > > timezones in the XML file and I set GMT+0 as default)
> > >
> > > I'm in Tunisia, I normally I need the "GMT+1" which I tried before but
> > > there was the same problem in calendar.
> > >
> > >
> > >
> > >
> >
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>

Re: Réf. : Re: Timezone & Time pb !

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
"What time is written in your db? =>  IST gmt + 5.30"
=> that is impossible, the fields appointment_starttime and
appointment_endtime are timestamp that do not contain any timezone info.
They are always in the timezone of the server machine.

Sebastian

2012/4/17 Baskar Rajendran <ba...@gmail.com>

> myne
>
> What timezone is your client machine? => IST gmt + 5.30
> userprofile ==> IST gmt + 5.30
> What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
> What timezone is the default timezone specified in the OpenMeetings server?
> =>Etc/GMT--7
> What time is written in your db? =>  IST gmt + 5.30
>
> -regards
> baskar
>
> What timezone is in the user-profile of your client machine? => GMT+0
> What timezone has the server machine? => GMT+0
> What timezone is the default timezone specified in the OpenMeetings server?
> => GMT+0
> What time is written in your db? => GMT+0 (because I commented all others
> timezones in the XML file and I set GMT+0 as default)
>
>
>
> Mon Apr 16 23:55:22 MDT 2012
>
>
> On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <hamdi.thabet86@gmail.com
> >wrote:
>
> >    What timezone is your client machine? => Win7 x64 - Waterfox x64
> >  What timezone is in the user-profile of your client machine? => GMT+0
> > What timezone has the server machine? => GMT+0
> > What timezone is the default timezone specified in the OpenMeetings
> > server? => GMT+0
> > What time is written in your db? => GMT+0 (because I commented all others
> > timezones in the XML file and I set GMT+0 as default)
> >
> > I'm in Tunisia, I normally I need the "GMT+1" which I tried before but
> > there was the same problem in calendar.
> >
> >
> >
> >
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com

Re: Réf. : Re: Timezone & Time pb !

Posted by Baskar Rajendran <ba...@gmail.com>.
myne

What timezone is your client machine? => IST gmt + 5.30
userprofile ==> IST gmt + 5.30
What timezone has the server machine? => Mon Apr 16 23:55:22 MDT 2012
What timezone is the default timezone specified in the OpenMeetings server?
=>Etc/GMT--7
What time is written in your db? =>  IST gmt + 5.30

-regards
baskar

What timezone is in the user-profile of your client machine? => GMT+0
What timezone has the server machine? => GMT+0
What timezone is the default timezone specified in the OpenMeetings server?
=> GMT+0
What time is written in your db? => GMT+0 (because I commented all others
timezones in the XML file and I set GMT+0 as default)



Mon Apr 16 23:55:22 MDT 2012


On Tue, Apr 17, 2012 at 12:53 AM, Hamdi THABET <ha...@gmail.com>wrote:

>    What timezone is your client machine? => Win7 x64 - Waterfox x64
>  What timezone is in the user-profile of your client machine? => GMT+0
> What timezone has the server machine? => GMT+0
> What timezone is the default timezone specified in the OpenMeetings
> server? => GMT+0
> What time is written in your db? => GMT+0 (because I commented all others
> timezones in the XML file and I set GMT+0 as default)
>
> I'm in Tunisia, I normally I need the "GMT+1" which I tried before but
> there was the same problem in calendar.
>
>
>
>