In my add on, date and time picker field, date and time is stored as a timestamp.
When a user open a post to edit the date and time field, I use format_value() to convert the timestamp to the format the user set when he created the field.
What should I use to convert the timestamp to the correct format in revisions ?
edit: @elliot ?