Re: [yocto] [poky] Fwd: How to make the os-release package work with local walltime instead of GMT?

2018-01-18 Thread Andre McCurdy
On Mon, Jan 15, 2018 at 9:20 PM, Trevor Woerner  wrote:
> On Thu, Jan 11, 2018 at 12:26 AM, Robert Yang 
> wrote:
>>
>> BUILD_ID = "${@time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())}"
>
> Brilliant! Why isn't this the default?

Using localtime could cause confusion for teams which span different time zones.

Even if everyone is in the same time zone, it can also give unexpected
results when entering or leaving daylight savings time.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [poky] Fwd: How to make the os-release package work with local walltime instead of GMT?

2018-01-15 Thread Trevor Woerner
On Thu, Jan 11, 2018 at 12:26 AM, Robert Yang 
wrote:

> BUILD_ID = "${@time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())}"
>

Brilliant! Why isn't this the default?
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto