fix the bug and change the time format for tumblr and facebook