mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
table storage event repo stub
This commit is contained in:
@ -409,5 +409,15 @@ namespace Bit.Core.Utilities
|
||||
.Replace("http://", string.Empty)
|
||||
.Replace("https://", string.Empty);
|
||||
}
|
||||
|
||||
public static string DateTimeToTableStorageKey(DateTime? date = null)
|
||||
{
|
||||
if(date == null)
|
||||
{
|
||||
date = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
return date.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user