 		# 				@__input_format["__#{k}"] = null
 		# 			@__dateTimeTmpl.replace(@__input_format["__#{k}"], k)
 
-		# 	@popoverSetClasses()
 		# 	@pop?.position()
 		# @__current_input_format = @__input_format
-		@
+		input_format
 
 	getTemplateKeyForRender: ->
 		"center"

		if inp == "" or not @__current_moment.isValid()
			@__current_moment = moment()
			@__current_moment.__now = true
			@initFormat(0)

		return


					name: "am_pm"
					group: "time"
					data: data
					onDataChanged: (_data) =>
						if _data.am_pm == null
							@setInputFormat(false)
							@updateCalendar(mom)
						else
							@setInputFormat(true)
							@updateCalendar(mom.hour(data.hour+data.am_pm))

					options: =>
						opts = emtpy_clock_opts.slice(0)
						for am_pm in ["AM", "PM"]
							opts.push
								text: am_pm
