Skip to content

Conversation

@jv-garcia
Copy link
Contributor

@jv-garcia jv-garcia commented Dec 22, 2025

Description

This change should add support for the modifiers supported for other time functions already, see #602.

Although #602 mentions JulianDay, according to COMPAT.md and some testing that has already been implemented.

Motivation and context

#602

I'm only getting started in the code base, so I'm happy to take any feedback on any best practices or SQLite quirknesses that I might be missing here. In particular I'm a bit meh on the handling of the subsec case, let me know if you have better suggestions.

FTR: I took a longer way than needed most likely, because I hadn't realized that I could just wire the existing NaiveDateTime manipulations to produce the right output. Do let me know if there were other reasons there to keep those apart.

Description of AI Usage

Some chatting with ChatGPT about what peculiarities with Julian Days and leap seconds, I didn't know much of that stuff.

Testing

I added a few compatibility tests, happy to add more test coverage where you folks might think it makes sense.

@jv-garcia jv-garcia marked this pull request as ready for review December 23, 2025 23:12
Copy link

@turso-bot turso-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review @jussisaurio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants