 (def form-selected-task #(get-in % [:selected-task]))
 (def form-selected-task-id #(get-in % [:selected-task :task-id]))
 (def form-selected-project-id #(get-in % [:selected-task :project-id]))
-(def form-start-time #(get-in % [:post-entry-form :startTime]))
-(def form-end-time #(get-in % [:post-entry-form :endTime]))
+(def form-start-time #(get-in % [:post-entry-form :start-time]))
+(def form-end-time #(get-in % [:post-entry-form :end-time]))
 (def form-entry-id #(get-in % [:post-entry-form :entry-id]))
 (def form-comment #(get-in % [:post-entry-form :comment]))
-(def form-billable? #(get-in % [:post-entry-form :isBillable]))
+(def form-billable? #(get-in % [:post-entry-form :billable?]))
 (def form-submitted? #(get-in % [:submitted?]))
 (def form-form-at-submit-time #(get-in % [:form-at-submit-time]))
 

    {:selected-task {:task-id (:task-id entry)
                     :project-id (:project-id entry)}
     :selected-date {:date (unix->date-str (:from entry))}
     :post-entry-form {:isBillable (:billable? entry)
                       :comment (:comment entry)
                       :startTime (unix->time-str (:from entry))
                       :endTime (unix->time-str (:till entry))
                       :entry-id (:entry-id entry)}}))

(defn form->data-entry [form]

                          :submitted? false
                          :form-at-submit-time nil
                          :selected-task {}
                          :post-entry-form {:start-time ""
                                            :end-time ""
                                            :billable? false
                                            :comment ""
                                            :entry-id "new"})

