AmiClient icon indicating copy to clipboard operation
AmiClient copied to clipboard

When double has a separator, it may cause ArgumentOutOfRangeException

Open thicsilva opened this issue 1 year ago • 0 comments

If asterisk reports a Timestamp with a value with a separator, it may cause an error in the conversion (if you are using the application in a Windows environment, the system's regional settings affect the conversion). Example: when converting the string "1708469396.756", the value can be converted to 1708469396756, and when calling .AddSeconds passing this value, ArgumentOutOfRangeException will be generated.

thicsilva avatar Feb 21 '24 01:02 thicsilva