lib/zendesk2/create_view.rb in zendesk2-1.11.0 vs lib/zendesk2/create_view.rb in zendesk2-1.12.0
- old
+ new
@@ -61,11 +61,11 @@
end
record = {
'id' => identity,
'url' => url_for("/views/#{identity}.json"),
- 'created_at' => Time.now.iso8601,
- 'updated_at' => Time.now.iso8601,
+ 'created_at' => timestamp,
+ 'updated_at' => timestamp,
'active' => true,
'execution' => {
'columns' => columns,
'fields' => columns,
'custom_fields' => [],