Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229414

Re: setting the date for testing

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: setting the date for testing
Date Mon, 07 Dec 2020 15:30:02 +0100
Message-ID <BjpGy-GP-1@gated-at.bofh.it> (permalink)
References <Bj98K-6W2-3@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Mon Dec 7 14:22:22 2020
Old-Return-Path <mstone@debian.org>
X-Amavis-Spam-Status No, score=-9.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .harad.mathom. - helo-domain: .mathom.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5
Mail-Followup-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1; format=flowed
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-PGP-Fingerprint 02D5 315F F11F 1861 860E 1E02 F61A ACDC FA11 FFDE
X-Mailing-List <debian-user@lists.debian.org> archive/latest/769846
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/5397e07c-3897-11eb-9b6a-00163eeb5320@msgid.mathom.us
Approved robomod@news.nic.it
Lines 7
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 7 Dec 2020 09:22:00 -0500
X-Original-Message-ID <5397e07c-3897-11eb-9b6a-00163eeb5320@msgid.mathom.us>
X-Original-References <202012062043.0B6KhoRY582589@bottom.networkguild.org>
Xref csiph.com linux.debian.user:229414

Show key headers only | View raw


On Sun, Dec 06, 2020 at 08:43:51PM +0000, Michael Grant wrote:
>I need to set the date to several years in the future in order to test
>something.  When I do this via the date command, the date returns back almost
>instantly (or within a few seconds).

Depending on what you're doing you may want to look at the faketime or 
datefudge packages.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

setting the date for testing Michael Grant <mgrant@grant.org> - 2020-12-06 21:50 +0100
  Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-06 22:00 +0100
  Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-07 09:00 +0100
    RE: setting the date for testing Michael Grant <mgrant@grant.org> - 2020-12-13 14:40 +0100
      Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-13 15:10 +0100
        Re: setting the date for testing Michael Grant <mgrant@grant.org> - 2020-12-13 16:40 +0100
          Re: setting the date for testing "hdv@gmail" <hdv.jadev@gmail.com> - 2020-12-13 17:00 +0100
  Re: setting the date for testing Michael Stone <mstone@debian.org> - 2020-12-07 15:30 +0100

csiph-web