Format a Javascript Date to RFC-822 datetime using moment.js

 https://gist.github.com/tleen/5109955

var rfc822Date = moment(yourDate).format('ddd, DD MMM YYYY HH:mm:ss ZZ')

Không có nhận xét nào:

Check to be sure that port 22 is enabled before you reload

 https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting  ENABLED=yes  in  /etc/ufw/ufw.conf  did it for me. $ sudo ...