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 5 arguments method overload not implemented #854

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

format-date 5 arguments method overload not implemented #854

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
test-cases: format-date-en126 to format-date-en134

@team
Seems that whole feature is missing. Please investigate

Input:
let $d := date("2003-12-07") return for $i in 1 to 7 return let $d2 := $d + dayTimeDuration("P1D")*$i return
         format-date($d2, "[FNn]", "en", (), ())

Output:
⚠️ ️️here was an error.
 
Code: [XPST0017] (this code can be looked up in the documentation and specifications).
 
Location information: file:/Users/mstevan/Documents/:LINE:2:COLUMN:9:
 
Undefined function call; Entered function name and arity doesn't match a defined function signature: "format-date" called with 5 parameters.

Expected output:
Monday Tuesday Wednesday Thursday Friday Saturday Sunday

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