]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei up: show timezone offset with localtime
authorEric Wong <e@80x24.org>
Sat, 25 Sep 2021 05:49:43 +0000 (05:49 +0000)
committerEric Wong <e@80x24.org>
Sat, 25 Sep 2021 08:53:43 +0000 (08:53 +0000)
Sometimes a user (e.g. me) isn't really sure what timezone
they're in...

lib/PublicInbox/LeiXSearch.pm

index 88540bc22367525b3523711c55e8a71daad31b71..99f887ce730f50f21c45f742576164c528217415 100644 (file)
@@ -324,7 +324,7 @@ sub fudge_qstr_time ($$$) {
        }
        $lr -= ($rft || (48 * 60 * 60));
        $lei->qerr("# $uri limiting to ".
-               strftime('%Y-%m-%d %k:%M', localtime($lr)). ' and newer');
+               strftime('%Y-%m-%d %k:%M %z', localtime($lr)). ' and newer');
        # this should really be rt: (received-time), but no stable
        # public-inbox releases support it, yet.
        my $dt = 'dt:'.strftime('%Y%m%d%H%M%S', gmtime($lr)).'..';