You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
working with sqlite dates is a real pain because date modifiers don't take into account leap years making the output of them unreliable.
The users of my app would consider this a serious bug.
Example:
select datetime('1993-06-30 23:59', '+20 months') as dt;
should return 1995-02-28 23:59 but it returns 1995-03-02 23:59:00 because sqlite does not take into account leap years.
Do you know of any plugin with proper date and time functions which work bug free?
If not, do you know any hack which can solve this?
I believe a plugin for better date and time handling including convenience functions for formatting, parsing and modifying dates would very much help the community.
Best regards
The text was updated successfully, but these errors were encountered:
Dear sqlean team,
working with sqlite dates is a real pain because date modifiers don't take into account leap years making the output of them unreliable.
The users of my app would consider this a serious bug.
Example:
should return
1995-02-28 23:59
but it returns1995-03-02 23:59:00
because sqlite does not take into account leap years.I believe a plugin for better date and time handling including convenience functions for formatting, parsing and modifying dates would very much help the community.
Best regards
The text was updated successfully, but these errors were encountered: