user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 3/3] searchmsg: remove unused EPOCH_822 constant
  2016-12-13  3:48  6% [PATCH 0/3] misc minor fixups Eric Wong
@ 2016-12-13  3:48  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-12-13  3:48 UTC (permalink / raw)
  To: meta

This hasn't been needed since our Email::Abstract removal
for message threading.
---
 lib/PublicInbox/SearchMsg.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm
index 9dcc1e6..5779d1e 100644
--- a/lib/PublicInbox/SearchMsg.pm
+++ b/lib/PublicInbox/SearchMsg.pm
@@ -12,7 +12,6 @@ use Date::Parse qw/str2time/;
 use PublicInbox::MID qw/mid_clean/;
 use PublicInbox::Address;
 our $PFX2TERM_RE = undef;
-use constant EPOCH_822 => 'Thu, 01 Jan 1970 00:00:00 +0000';
 use POSIX qw(strftime);
 
 sub new {
-- 
EW


^ permalink raw reply related	[relevance 7%]

* [PATCH 0/3] misc minor fixups
@ 2016-12-13  3:48  6% Eric Wong
  2016-12-13  3:48  7% ` [PATCH 3/3] searchmsg: remove unused EPOCH_822 constant Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2016-12-13  3:48 UTC (permalink / raw)
  To: meta

Nothing major, just some cleanups I noticed while working on
other stuff...

Eric Wong (3):
      nntp: add test case for the "DATE" command
      nntp: avoid useless use of strftime
      searchmsg: remove unused EPOCH_822 constant

 lib/PublicInbox/NNTP.pm      | 4 ++--
 lib/PublicInbox/SearchMsg.pm | 1 -
 t/nntpd.t                    | 8 ++++++++
 3 files changed, 10 insertions(+), 3 deletions(-)

^ permalink raw reply	[relevance 6%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-12-13  3:48  6% [PATCH 0/3] misc minor fixups Eric Wong
2016-12-13  3:48  7% ` [PATCH 3/3] searchmsg: remove unused EPOCH_822 constant 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).