Time Widget

Also fixes a bug in Date widget