some hacks to handle user and elasticsearch being in GMT+8