In the normal case (i.e., for dates after 2001.0 UTC) leap seconds are always accounted for in the conversion regardless of the setting of the "allowcorr" parameter.
This tool is a Perl wrapper to the standalone tool "sTime2" which is based on a tool originally written for RXTE by Arnold Rots. The time system and formats are enumerated lists with only specific values allowed. They are:
timesys ------- m MET t TT u UT timefmt ------- s Seconds since 2001.0 (decimal) - e.g., 135153600 n Mission day number, hours, minutes, seconds - e.g., 1564:06:40:00 f Decimal mission day - e.g., 1564.2778 d Year and day number, hours, minutes, seconds - e.g., 2005:104:06:40:00 c Calendar date and time - e.g., "2005Apr14 at 06:40:00" j Julian Day - e.g., 2453474.778 m Modified Julian Day (= JD - 2400000.5) - e.g., 53474.2778This tool equates "MET" with "Spacecraft Clock Time". Therefore the Swift clock correction is only applied if the user is converting either to or from MET to another time system (ie, TT or UTC). The clock correction can be always be supressed by setting the hidden "allowcorr" parameter to "no" at runtime.