- Blind mode tutorial
lichess.org
Donate

Please allow ISO date format in Studies

The Date tag in Studies seems to allow only yyyy.mm.dd. I think it would be good to also allow the ISO8601 format yyyy-mm-dd.

I see from https://lichess.org/forum/lichess-feedback/date-not-displaying-properly-inside-studies that there have been some fixes to this recently, and in fact some dates that I entered last year now appear as errors (red box), although I think they were accepted back then.

I am aware that pgn uses yyyy.mm.dd, but if one were to design it anew one would choose yyyy-mm-dd. I don't see any reason to disallow the ISO style here.

The Date tag in Studies seems to allow only yyyy.mm.dd. I think it would be good to also allow the ISO8601 format yyyy-mm-dd. I see from https://lichess.org/forum/lichess-feedback/date-not-displaying-properly-inside-studies that there have been some fixes to this recently, and in fact some dates that I entered last year now appear as errors (red box), although I think they were accepted back then. I am aware that pgn uses yyyy.mm.dd, but if one were to design it anew one would choose yyyy-mm-dd. I don't see any reason to disallow the ISO style here.

I don't think that bringing more ambiguity into the data is really helpful. The standard is not perfect, but the date seems actually quite ok. It also allows for missing days, or months and days.

You certainly don't want to have data in there, that when exported other software cannot handle correctly.

I think there is a point for allowing it when entered manually and then "autocorrect" it into the proper form.

A button with "Fill Today", on the other hand, ... ;-)

I don't think that bringing more ambiguity into the data is really helpful. The standard is not perfect, but the date seems actually quite ok. It also allows for missing days, or months and days. You certainly don't want to have data in there, that when exported other software cannot handle correctly. I think there is a point for allowing it when entered manually and then "autocorrect" it into the proper form. A button with "Fill Today", on the other hand, ... ;-)

@rob625 said in #1:

I don't see any reason to disallow the ISO style here.
I do. If we allow nonstandard format, the complaints of the type "PGN exported from lichess cannot be imported into [random software]" will be more frequent.

@rob625 said in #1: > I don't see any reason to disallow the ISO style here. I do. If we allow nonstandard format, the complaints of the type "PGN exported from lichess cannot be imported into [random software]" will be more frequent.

Yes, @nadjarostowa, I think an autocorrect is probably the right way to go.

And I agree, that a "Fill Today" button would be nice; or perhaps simpler, just a default pre-entered? (But please, not a calendar with spinners, which are an abomination only exceeded by dropdown lists of countries of the world).

I take the point about wanting correct PGN. The thing is, when I have entered my games I have never really thought of it as creating a PGN with tags. I think it used not to check any tags (certainly not date), and now it does. That's good, in general, but it would be better with some autocorrect, I think.

There may be similar work to do on other fields, for instance Time Control; I haven't checked.

Yes, @nadjarostowa, I think an autocorrect is probably the right way to go. And I agree, that a "Fill Today" button would be nice; or perhaps simpler, just a default pre-entered? (But please, not a calendar with spinners, which are an abomination only exceeded by dropdown lists of countries of the world). I take the point about wanting correct PGN. The thing is, when I have entered my games I have never really thought of it as creating a PGN with tags. I think it used not to check any tags (certainly not date), and now it does. That's good, in general, but it would be better with some autocorrect, I think. There may be similar work to do on other fields, for instance Time Control; I haven't checked.

@rob625 said in #4:

And I agree, that a "Fill Today" button would be nice; or perhaps simpler, just a default pre-entered?

For me, I would often use this when I enter my OTB game directly after having played it, so a button would be convenient.

Probably setting it as default is not great, as many use cases would not want to have the current date there, or simply no date at all. And deleting something when it might get filled up with a default value feels a bit iffy. Or you enter old stuff and need to correct the data instead of just entering it.

On the other hand, I don't enter enough games to get worried. The biggest hazzle is "... oh what day is today?" and then I have to move my mouse so that I can see the calendar. :-)

@rob625 said in #4: > And I agree, that a "Fill Today" button would be nice; or perhaps simpler, just a default pre-entered? For me, I would often use this when I enter my OTB game directly after having played it, so a button would be convenient. Probably setting it as default is not great, as many use cases would not want to have the current date there, or simply no date at all. And deleting something when it might get filled up with a default value feels a bit iffy. Or you enter old stuff and need to correct the data instead of just entering it. On the other hand, I don't enter enough games to get worried. The biggest hazzle is "... oh what day is today?" and then I have to move my mouse so that I can see the calendar. :-)

@nadjarostowa said in #5:

The biggest hazzle is "... oh what day is today?" and then I have to move my mouse so that I can see the calendar. :-)
I usually copy the date from the scoresheet - which only means that I face this problem earlier, while filling the scoresheet header. (But the real moment of confusion is when the scoresheet has a "result" field in its header.)

@nadjarostowa said in #5: > The biggest hazzle is "... oh what day is today?" and then I have to move my mouse so that I can see the calendar. :-) I usually copy the date from the scoresheet - which only means that I face this problem earlier, while filling the scoresheet header. (But the real moment of confusion is when the scoresheet has a "result" field in its header.)

This topic has been archived and can no longer be replied to.