I'm using Feedzirra to parse feed, and the method for creating entries is like
class Feed < ActiveRecord::Base
def create_entries rawfeed
self.entries.create(title: rawfeed.title, content:rawfeed.content, published:rawfeed.published,
url: rawfeed.url, guid: rawfeed.id)
end
It works fine except the created entry's "published" time is really wired: something like
2000-01-01 17:26:15 UTC
I check the entry I passed to the create method, it looks fine. So I just have no idea what goes wrong. Other attributes are all normal, including the "created_at" attribute. Anyone has suggestion? Thanks very much.