Fix #274

The explicit concern that @adamrp and @squirrelo raised yesterday was
the situation where the psql machine and the web server have two
different times so they said that it was better to always use the web
server's time. Thus the code.