user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH 0/2] searchmsg: ->date correctness
@ 2016-12-17 11:53 Eric Wong
  2016-12-17 11:53 ` [PATCH 1/2] searchmsg: remove locale-dependency for ->date Eric Wong
  2016-12-17 11:53 ` [PATCH 2/2] searchmsg: do not memoize {date} field Eric Wong
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Wong @ 2016-12-17 11:53 UTC (permalink / raw)
  To: meta

Initially, I thought this accessor method was not needed at
all, but then I realized XHDR uses it to get a list of dates.
So, it's made locale-independent by avoiding strftime, as well
as no longer time wasting space since ->date is only called
once.

 lib/PublicInbox/SearchMsg.pm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-17 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-17 11:53 [PATCH 0/2] searchmsg: ->date correctness Eric Wong
2016-12-17 11:53 ` [PATCH 1/2] searchmsg: remove locale-dependency for ->date Eric Wong
2016-12-17 11:53 ` [PATCH 2/2] searchmsg: do not memoize {date} field Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).