[PATCH] cg-Xlib: make showdate show timezone

DORMANTno replies

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

[PATCH] cg-Xlib: make showdate show timezone

From: Dan Holmsand <hidden>
Date: 2016-06-15 22:42:00

This makes timezones show up again in showdate's default
format. Hopefully, this also makes showdate a little more
portable.

It also speeds things up a little, by avoiding an extra fork.

Signed-off-by: Dan Holmsand <redacted>
---

Re: [PATCH] cg-Xlib: make showdate show timezone

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:00

Dear diary, on Sun, Jun 12, 2005 at 01:40:57PM CEST, I got a letter
where Dan Holmsand [off-list ref] told me that...
This makes timezones show up again in showdate's default
format. Hopefully, this also makes showdate a little more
portable.

It also speeds things up a little, by avoiding an extra fork.

Signed-off-by: Dan Holmsand <redacted>
Thanks, applied. But what's the point of calling date with LANG=C? If
the user wants his locale to get used, why prevent him?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..

Re: [PATCH] cg-Xlib: make showdate show timezone

From: Dan Holmsand <hidden>
Date: 2016-06-15 22:42:00

Petr Baudis wrote:
Thanks, applied. But what's the point of calling date with LANG=C? If
the user wants his locale to get used, why prevent him?
Because otherwise, you won't get an RFC-2822 date (which is what you 
explicitly wanted a couple of days ago, and what we had before).

Also, it would look pretty awkward to have parts of the output localized 
  (the date string), and all other parts not ("author", "date", whatnot).

/dan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help