[Avocado-devel] NRunner: decide on a "wire-format" for time/dates

Amador Pahim amador at pahim.org
Wed Oct 30 19:06:32 UTC 2019


On Wed, 30 Oct 2019, 18:30 Beraldo Leal <bleal at redhat.com> wrote:

> On Wed, Oct 30, 2019 at 11:43 AM Amador Pahim <amador at pahim.org> wrote:
> > What's the problem with that?
> > 2018-02-16T23:01:00 -03
> > and
> > 2018-02-16T23:01:00 -02
> > Are 1h apart that is pretty clear...
>
> Not a problem, just pointing this particular case.
>
> I prefer to have everything on UTC.
>
> Probably, our configuration files would be different. ;)
>
> > If users define a custom formatter, without the %z in it, well, they
> > probably want that.
>
> The users do not always know what they want. ;)
>
> And if this file is gonna be consumed by another component you have to
> adjust to
> this format in a different place, but again, not a big deal.
>
> Again, I'm just trying to bring up all possible corner cases.
>
> I am not against your suggestion.
>

You have good points. Don't take my suggestion for granted, I'm just giving
you my/one perspective :)



> --
> Beraldo Leal
> Senior Software Engineer, Virtualization Team
> Red Hat
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20191030/78ac38f4/attachment.htm>


More information about the Avocado-devel mailing list