Hi,
The docs say the following date types are available:
DateTime, Date, Time
I have always just used DateTime, but would actually like to work in
seconds and therefore use a Time object.
Is there any difference in the background in using Time as a type?
e.g.:
property :created_at, Time, :default => proc { |m,p| Time.now}
cheers,
DAZ
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.