Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

METRON-399 Stellar Date Functions Should Default to Current Time #237

Closed
wants to merge 1 commit into from

Conversation

nickwallen
Copy link
Contributor

METRON-399

The Stellar date functions expect an argument of a Long containing the epoch time in milliseconds. If no argument is supplied, a parse exception is thrown.

WEEK_OF_YEAR(timestamp)

This should be changed so that if no argument is supplied, the function assumes the current time.

WEEK_OF_YEAR()

If an argument is passed that is not valid, the function should continue to return null.

This updates the functioning of all date functions included in #231 .

@cestella
Copy link
Member

+1, good stuff

@asfgit asfgit closed this in 4212927 Sep 12, 2016
@nickwallen nickwallen deleted the METRON-399 branch November 30, 2016 19:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants