1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-16 19:03:01 +00:00

Fixed DateTime converter for nanosecond times in string format

This commit is contained in:
Jkorf
2022-01-25 13:01:21 +01:00
parent 2c43ee7554
commit 893d0c723d
2 changed files with 3 additions and 1 deletions
@@ -19,6 +19,7 @@ namespace CryptoExchange.Net.UnitTests
[TestCase("1620777600.000")]
[TestCase("1620777600000")]
[TestCase("2021-05-12T00:00:00.000Z")]
[TestCase("2021-05-12T00:00:00.000000000Z")]
[TestCase("", true)]
[TestCase(" ", true)]
public void TestDateTimeConverterString(string input, bool expectNull = false)