Review Board 1.5.4

Issue 390 add a trait with createdAt and updatedAt in it

Updated 1 year, 10 months ago

David Pollak Reviewers
dpp, marius, charles, heiko, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday
None LiftWeb-archive
https://liftweb.assembla.com/spaces/liftweb/tickets/390-request-for-trait-that-supports-createdat-and-updatedat

dpp_issue_390

Added a trait with createdAt and updatedAt in it
Added a test
Ship it!
Posted 1 year, 10 months ago (March 25th, 2010, 12:17 a.m.)
Looks good.

A minor future enhancement: when I've done things like this in the past, I'm using a ThreadGlobal to hold "now". This way, I ensure that all entities get the same timestamp even if processing takes a few 100 ms. This makes it easier to identify updates from the same transaction...