mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Link Database Earliest and Latest Point in time with DryRun (#17506)
This commit is contained in:
committed by
GitHub
parent
b48f392ab2
commit
08d3803453
@@ -363,3 +363,11 @@ export function debounce(delay: number): Function {
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
export function getTimeStamp(dateTime: string | undefined): number {
|
||||
return dateTime ? (new Date(dateTime)).getTime() : 0;
|
||||
}
|
||||
|
||||
export function checkISOTimeString(dateTime: string): boolean {
|
||||
return /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d.*Z/.test(dateTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user