Reqrite phones and datetime functions. Support client time zone change. More tests.