fixed am/pm date formatting for 1am times. MB-4999
fixed am/pm date formatting for 1am times. MB-4999

1am was incorrectly formatted as 9pm

Backport of this 2.0 fix:
http://review.couchbase.org/#change,9407

Change-Id: I74100dbaf2ec2097c089c8485b0a7f569b1fa708
Reviewed-on: http://review.couchbase.org/14506
Tested-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

mschoch/ns_server,daverigby/ns_server,membase/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,mschoch/ns_server,nimishzynga/ns_server,daverigby/ns_server,nimishzynga/ns_server,vzasade/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,nimishzynga/ns_server,daverigby/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,membase/ns_server,t3rm1n4l/ns_server,membase/ns_server,mschoch/ns_server,nimishzynga/ns_server,ceejatec/ns_server,pavel-blagodov/ns_server,vzasade/ns_server,membase/ns_server,t3rm1n4l/ns_server,mschoch/ns_server,ceejatec/ns_server,vzasade/ns_server,daverigby/ns_server,vzasade/ns_server