Easily reproducible with --faked-system-time. Just create a key, and then list
it with the same faked time. Result:
teythoon@europa ...gscm-20161104T101525-run-tests-YIEG2z % gpg2
--faked-system-time $(date --date "2016-07-01" +%s) -k
74CED98E257A084F9E92CB67517912BA66E730CA
gpg: WARNING: running with faked system time: 2016-06-30 22:00:00
gpg: please do a --check-trustdb
gpg: key 517912BA66E730CA was created 78 seconds in the future (time warp or
clock problem)
pub rsa2048 2016-06-30 [SCEA]
74CED98E257A084F9E92CB67517912BA66E730CA
uid [ unknown] test key (do not use) <testkey@example.org>
teythoon@europa ...gscm-20161104T101525-run-tests-YIEG2z % gpg2
--faked-system-time $(date --date "2016-07-02" +%s) -k
74CED98E257A084F9E92CB67517912BA66E730CA
gpg: WARNING: running with faked system time: 2016-07-01 22:00:00
gpg: please do a --check-trustdb
pub rsa2048 2016-06-30 [C] [expires: 2017-06-30]
74CED98E257A084F9E92CB67517912BA66E730CA
uid [ unknown] test key (do not use) <testkey@example.org>