diff options
author | mr <mr@mrautenberg.de> | 2011-03-15 12:14:14 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-03-15 12:14:14 +0100 |
commit | a6ee4587bfcb565e87ab597b4e1156467ab67152 (patch) | |
tree | 563790ef82305a2f12874af6eafe697b3cc40224 /views | |
parent | 37b3ecfa4bb27b2eb9ffe8efa7bf8a4d32cf1dca (diff) |
sorting of models, created_at automation, ohm::callback
Diffstat (limited to 'views')
-rw-r--r-- | views/model.haml | 4 |
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 |