check your timezone cuz it s right for me(the debug timing)mine is gmt+5:clock1030:
command output
Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Sep 12 16:09:41 2019 from 192.168.1.25
pi@raspberrypi:~$ grep server.error-handler-404 /etc/lighttpd/lighttpd.conf
server.error-handler-404 = "/pihole/index.php"
pi@raspberrypi:~$
You should only need to make the change once and it should stay. If you are having to repeatedly change the file (at least 3 times so far in this thread) then you have a problem with the filesystem or the SDCard is no longer functional.