Skip to content

Comments

feat: feat: add to_time, to_local_time, to_date functions#1387

Open
mesejo wants to merge 1 commit intoapache:mainfrom
mesejo:feat/expose_to_time_function
Open

feat: feat: add to_time, to_local_time, to_date functions#1387
mesejo wants to merge 1 commit intoapache:mainfrom
mesejo:feat/expose_to_time_function

Conversation

@mesejo
Copy link
Contributor

@mesejo mesejo commented Feb 19, 2026

Which issue does this PR close?

N/A

Rationale for this change

Expose missing temporal functions

What changes are included in this PR?

The functions to_time, to_local_time, to_date, and the corresponding tests.

Fix conditional on to_timestamp since it is args it can not be None, see:

def foo(*args):
    print(args)

foo()

Output
()

Add the alias today for the current_date function

Are there any user-facing changes?

Yes, new functions were added

@mesejo mesejo force-pushed the feat/expose_to_time_function branch 2 times, most recently from 1297aae to 5c639b5 Compare February 20, 2026 15:44
@mesejo mesejo changed the title feat: add to_time function feat: feat: add to_time, to_local_time, to_date functions Feb 20, 2026
Additionally fix conditional on formatters (since it is *args it cannot be None)
Refactor name to avoid possible collision with f.
@mesejo mesejo force-pushed the feat/expose_to_time_function branch from 5c639b5 to d473cc2 Compare February 20, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant