Include metadata from recordings.
This commit is contained in:
@@ -116,6 +116,15 @@ export const formatDateAndTime = (date: Date): string => {
|
||||
return format(date, 'yyyy-MM-dd HH:mm');
|
||||
};
|
||||
|
||||
/**
|
||||
* Format a date object to RFC3339.
|
||||
* @param date A Date object.
|
||||
* @returns A date.
|
||||
*/
|
||||
export const formatDate = (date: Date): string => {
|
||||
return format(date, 'yyyy-MM-dd');
|
||||
};
|
||||
|
||||
/**
|
||||
* Run a function in idle periods. If idle callbacks are not supported (e.g.
|
||||
* Safari) the callback is run immediately.
|
||||
|
||||
Reference in New Issue
Block a user