I want to check whether an object has been changed since its creation. When I create a cm:cmobject with the mandatory cm:auditable aspect, cm:created and cm:modified differ with a few milliseconds. I currently check for a difference of 1 second (<#if (dateCompare(comment.properties["cm:created"], comment.properties["cm:modified"], 1000) == 0)>) but it feels rather hacky.
Is there a better way to check for modifications without using cm:versionable?
Marc