silverorange/swat — pull request #22 by isaacgrant (2014-03-27 20:27:21+00:00)
Title: Fix hasDateProperty()

To our shame we didn't test this when adding it in #20. The date_properties array is an array of properties, not an indexed array of values. So use the correct in_array().