added default date for message
added default date for gallery