Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format-date and dateTime index out of range #850

Open
mstevan opened this issue Dec 29, 2020 · 0 comments
Open

format-date and dateTime index out of range #850

mstevan opened this issue Dec 29, 2020 · 0 comments
Labels

Comments

@mstevan
Copy link
Contributor

mstevan commented Dec 29, 2020

@mstevan
test-set: format-date.xml, format-dateTime.xml
test-cases: format-date-013a to format-date-013n, format-dateTime-013a to format-dateTime-013v

@team
Seems that index is not working at all. Please investigate

Input:
let $t := date("0985-03-01") return format-date($t, "[Y,4-4]") -

Output:
[ERROR] An error has occurred: String index out of range: -1
We should investigate this 🙈. Please contact us or file an issue on GitHub with your query. 
Link: https://github.com/RumbleDB/rumble/issues

Expected output:
0985

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants