Fix CURRENT_{DATE,TIME} for SQLite
Fix CURRENT_{DATE,TIME} for SQLite

Instead of using CURRENT_DATE and CURRENT_TIME, always use
CURRENT_TIMESTAMP, transform to localtime, then use a formatting
function.  This gives the most accurate results.

gferguson-gd/sequel,tmm1/sequel,nju520/sequel,uhoh-itsmaciek/sequel,mpalmer/sequel,freshpay/sequel,offshore-safety/sequel,seeARMS/sequel,yazshel/sequel,uhoh-itsmaciek/sequel,chef/sequel,pfarrell/sequel,offshore-safety/sequel,nicohvi/sequel,dennis-d/custom_sequel,bigfix/sequel,freshpay/sequel,mpalmer/sequel,knut2/sequel,reubano/sequel,nicohvi/sequel,beni55/sequel,beni55/sequel,seeARMS/sequel,dennis-d/custom_sequel,davidbegin/sequel,yazshel/sequel,reubano/sequel,knut2/sequel,t-morgan/sequel,nju520/sequel,pfarrell/sequel,t-morgan/sequel,davidbegin/sequel,Marketcircle/sequel,offshore-safety/sequel,gferguson-gd/sequel