.. include:: /Includes.rst.txt .. _bugfix-1793097805: ================================================= Bugfix: Accept fractional seconds in API instants ================================================= Description =========== An offline punch sent with `Date.toISOString()` was refused with "This value is not a valid datetime.", because the instant carried milliseconds. Every instant of an API input, such as the time of a punch, of a correction or of a timer stop, the instant of a shift lookup and the slots of a training session, now accepts fractional seconds of any number of digits with `Z` or an offset. The fraction is dropped, the time is kept in whole seconds. The output format is unchanged. Impact ====== Clients can send instants as their platform formats them; the date-time of the contract states the accepted notations. .. index:: API, package:adsum-attendance, package:adsum-core