bugfix: convert revision timestamp from datestring format to db format

Change-Id: I88e423b0993acb47e267255414c9b94e09a27b5d