switching to use real dates.

This commit is contained in:
Bryce Covert
2018-04-12 22:33:57 -07:00
parent e1e0835bee
commit 056bfc38a4
8 changed files with 64 additions and 19 deletions

View File

@@ -1,7 +1,9 @@
(ns auto-ap.views.components.invoice-table
(:require [re-frame.core :as re-frame]
[auto-ap.subs :as subs]
[reagent.core :as reagent]))
[auto-ap.views.utils :refer [date->str]]
[reagent.core :as reagent]
[cljs-time.format :as format]))
(defn toggle-sort-by [params key]
@@ -58,5 +60,5 @@
[:td (:name vendor)]
[:td (:name company)]
[:td invoice-number]
[:td date]
[:td (date->str date) ]
[:td total]]))]]))))