SmallDateTime has incorrect upper bound range (fix PR included)
rockymadden opened this issue · comments
Software versions
- Tedious: 16.7.1 forward (via 1c88d76)
- SQL Server: N/A
- Node.js: N/A
Any other details that can be helpful
- The upper bound should be June 6th and not May 6th, per the docs (
January 1, 1900, through June 6, 2079
): https://learn.microsoft.com/en-us/sql/t-sql/data-types/smalldatetime-transact-sql?view=sql-server-ver16 - Fix PR (do not care if used or not): https://github.com/tediousjs/tedious/pull/1621/files#diff-d2490332c75e78831174c99cb403799aba574d24dcf18a92cf6293fe25d96490
@rockymadden Thanks for catching this and made the PR 🙇 . I just added a comment under the PR for remove a failing test case. It is no longer needed, and the PR should be good to go.