Hi,
The format-date has one minor issue using
format-date(xs:date("2022-01-01"),"[D]. [Mn] [Y]","de",(),())
should return 1. Januar 2022 but currently (BaseX 10.4) returns 1. januar 2022
alex
Am 1/20/2023 um 11:44 AM schrieb Alexander Witzigmann:
Hi,
The format-date has one minor issue using
format-date(xs:date("2022-01-01"),"[D]. [Mn] [Y]","de",(),())
should return
- Januar 2022
but currently (BaseX 10.4) returns
- januar 2022
I think you need/want to use
format-date(xs:date("2022-01-01"),"[D]. [MNn] [Y]","de",(),())
Your sample gives the same output for me with BaseX and Saxon.
hi martin,
yep - as often - PEBKAC thanks alex
Am 20.01.2023 um 12:06 schrieb Martin Honnen:
Am 1/20/2023 um 11:44 AM schrieb Alexander Witzigmann:
Hi,
The format-date has one minor issue using
format-date(xs:date("2022-01-01"),"[D]. [Mn] [Y]","de",(),())
should return
- Januar 2022
but currently (BaseX 10.4) returns
- januar 2022
I think you need/want to use
format-date(xs:date("2022-01-01"),"[D]. [MNn] [Y]","de",(),())
Your sample gives the same output for me with BaseX and Saxon.
basex-talk@mailman.uni-konstanz.de