Moduļa diskusija:Citation/CS1/Date validation

Lapas saturs netiek atbalstīts citās valodās.
Vikipēdijas lapa

"Access-date" localization[labot pirmkodu]

Hello, sorry for writing in English. How do you localized this Module so that you can have local date formats in "access-date" parameter? Example here.[1] I want also change default YYYY-MM-DD format to local Lithuanian one. Thank you in advance.--Zygimantus (diskusija) 2016. gada 5. marts, plkst. 10.19 (EET)[atbildēt]

Sveiki, Zygimantus! Well, English is fine :) Could you clarify, what exactly you want me to answer? We have entirely disabled date validation (and some other things, like whole COinS part), if you're asking about that. --FRK (diskusija) 2016. gada 5. marts, plkst. 10.31 (EET)[atbildēt]
Thank you for your answer. How did you disabled that validation? I see in your Module that you still have that function "is_valid_accessdate". Etc., can you check how to avoid those errors here: [1]].--Zygimantus (diskusija) 2016. gada 5. marts, plkst. 10.56 (EET)[atbildēt]
I have just commented out the code for date validation and it seems that there is no error. Thank you.--Zygimantus (diskusija) 2016. gada 5. marts, plkst. 11.08 (EET)[atbildēt]
(labojumu konflikts) @Zygimantus: Yes, I see, that we still have that function. Well, maybe one day it will be necessary. If you ltwiki aren't using some weird/strange date formats, then I would suggest you to keep that validation, it is helpful. We disabled it here, because we're using quite different approach with templates, wikilinks and other stuff. You can always hide that error by default and show it only to you. If you give some information about date format in Lithuanian, then I probably could help you. But if you want to disable validation, then this change should be enough. --FRK (diskusija) 2016. gada 5. marts, plkst. 11.16 (EET)[atbildēt]

Atsauces[labot pirmkodu]

  1. «Medicīna simbols» (latviski). Medicina.lv. Skatīts: 2009. gada 13. jūlijā.