Hi, Luke
  I found the timezone issue at the first time of entering kylin web and 
guessed it’s configured in KylinConfig.   
  I greped ‘zone’ in KylinConfig, and found ‘kylin.rest.timezone’ only. But 
with adding config as ‘CST’ to kylin.properties, it didn’t work.

  Inspired by Jian Zhong’s reply on this thread this afternoon, I tried to set 
as GMT+8, and it worked now.

  I’m not sure what do you mean ‘data timezone’, I didn’t find any clue about 
this in the source code. Could you please make more descriptions on this?

  After all, my suggestion is adding [kylin.rest.timezone] into default 
kylin.properties, and set GMT as default. It will give users a tip to change to 
their own timezone. 
  I think this will be useful for many users, because Kylin has been used by 
many people globally, not just in PST and CST.


> 在 2015年8月25日,20:30,Luke Han <[email protected]> 写道:
> 
> Hi Meng and Yerui,
>    For timezone, Kylin is using GMT as default for data, and
> "kylin.rest.timezone"
> for display.
>    Back to your requirement and issue, are you trying to set the "data"
> timezone to CST not only UI part?
>    Could you please share more detail requirement or issues about this?
> 
>    Thanks.
> Luke
> 
> 
> Best Regards!
> ---------------------
> 
> Luke Han
> 
> On Tue, Aug 25, 2015 at 8:16 PM, Yerui Sun <[email protected]> wrote:
> 
>> We have met this issue too.
>> I found [kylin.rest.timezone] in source code and tried to set as CST in
>> kylin.properties, but it didn’t work. I was confused with it and didn’t go
>> in-depth.
>> 
>> GMT is works well now, and I have to say, GMT-5 still means PST, and CST
>> is GMT+8.
>> 
>> 
>>> 在 2015年8月25日,16:00,Jian Zhong <[email protected]> 写道:
>>> 
>>> HI meng,
>>> 
>>> As mentioned in ServiceConfig.md,we have [kylin.rest.timezone] in
>>> kylin.properties file
>>> 
>>> you can config kylin.rest.timezone=GMT-5
>>> 
>>> 
>> https://github.com/apache/incubator-kylin/blob/master/server/ServiceConfig.md
>>> 
>>> 
>>> On Tue, Aug 25, 2015 at 2:43 PM, [email protected] <
>> [email protected]>
>>> wrote:
>>> 
>>>> like :2015-08-24 18:53:58 PST, we prefer cst time format, is that
>>>> configurable?
>>>> 
>>>> 
>>>> 
>>>> 中国移动广东有限公司 网管中心 梁猛
>>>> [email protected]
>>>> 
>> 
>> 

Reply via email to