wolfcw / libfaketime

libfaketime modifies the system time for a single application
https://github.com/wolfcw/libfaketime
GNU General Public License v2.0
2.62k stars 319 forks source link

.faketimerc donnot support start at? #449

Open JabinHao opened 6 months ago

JabinHao commented 6 months ago

I encountered an issue where

  1. when using .faketimerc, the offset works as expected.

    image
  2. However, when using start at, it actually behaves as absolute dates.

    image

system info:

image
JabinHao commented 6 months ago

pkg info:

wolfcw commented 6 months ago

The specified time is used for each newly started process and its subprocesses. You may want to start a new shell as parent process before starting the date commands. The .faketimerc file is treated not differently to other means like setting the FAKETIME environment variable.