[systemd-devel] timezone aware timers

Iain Lane iain at orangesquash.org.uk
Tue Feb 20 17:29:06 UTC 2018


On Tue, Feb 20, 2018 at 06:04:47PM +0100, Lennart Poettering wrote:
> On Di, 20.02.18 11:14, Iain Lane (iain at orangesquash.org.uk) wrote:
> > I'm not sure, though, what the best way to specify this in a timer unit
> > would be. Perhaps either a new timezone specification "local", or a
> > boolean flag UpdateWithTimezoneChange. "local" would act like you
> > specified the current timezone, but we would go away and recalculate
> > the time on a timezone change.
> 
> If you don't specify a timezone in timer expression you actually
> reference the local time. The only issue is that we don't recognize
> timezone changes...

That's right. This is the intended behaviour though, so I'm proposing a
way to opt into something different. My feeling is that "local" is a
confusing name, but we could hash that out at a later stage.

> Could you file an RFE issue about this on github?

Yep. I filed #8233 now. Let's carry on there.

Cheers,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180220/11e39376/attachment.sig>


More information about the systemd-devel mailing list