Details
-
Task
-
Resolution: Unresolved
-
Minor
-
COmanage Registry 3.1.1 (Hidden Gem MR1)
-
None
Description
Timezone manipulation reuses the same boilerplate in various beforeSave()s (and to a lesser degree in views, though perhaps not to a degree requiring refactoring). Add auto-detection to AppModel beforeSave()? (ie: if valid_from/valid_through and $this->tz, do adjustment in AppModel rather than actual model.)