summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-03-15 12:14:14 +0100
committermr <mr@mrautenberg.de>2011-03-15 12:14:14 +0100
commita6ee4587bfcb565e87ab597b4e1156467ab67152 (patch)
tree563790ef82305a2f12874af6eafe697b3cc40224 /views
parent37b3ecfa4bb27b2eb9ffe8efa7bf8a4d32cf1dca (diff)
sorting of models, created_at automation, ohm::callback
Diffstat (limited to 'views')
-rw-r--r--views/model.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/model.haml b/views/model.haml
index 76a2f31..5ecc86b 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -35,8 +35,8 @@
%span
%br
- -#%dt Started:
- -#%dd= model.created_at.strftime("%m/%d/%Y - %I:%M:%S%p")
+ %dt Started:
+ %dd= Time.parse(model.created_at.to_s).strftime("%m/%d/%Y - %I:%M:%S%p") if model.created_at
- if model.nr_compounds
%dt Training compounds:
%dd= model.nr_compounds