- Blind mode tutorial
lichess.org
Donate

Import and Export Game should receive and add clock timestamps (should be optional for exports).

Currently, Studies accept and correctly apply move times when importing games for analysis, but Import Game deletes the timestamps with the rest of comments. Additionally, there is no option to export games with move times, despite them being preserved in the database.

Adding this would be a very useful feature!

P.S. Here's an example of the standard format for a pgn with move times:

1.d4 {[%clk 0:10:00.0]} e5 {[%clk 0:09:59.2]} 2.dxe5 {[%clk 0:09:59.4]} d6 {[%clk 0:09:58.2]} 3.exd6 {[%clk 0:09:58.6]} cxd6 {[%clk 0:09:57.2]} 4.Qxd6 {[%clk 0:09:57.3]} Qxd6 {[%clk 0:09:56.3]} 5.e3 {[%clk 0:09:56.1]} Qd2+ {[%clk 0:09:55.3]} 6.Kxd2 {[%clk 0:09:55.3]}

Currently, Studies accept and correctly apply move times when importing games for analysis, but Import Game deletes the timestamps with the rest of comments. Additionally, there is no option to export games with move times, despite them being preserved in the database. Adding this would be a very useful feature! P.S. Here's an example of the standard format for a pgn with move times: 1.d4 {[%clk 0:10:00.0]} e5 {[%clk 0:09:59.2]} 2.dxe5 {[%clk 0:09:59.4]} d6 {[%clk 0:09:58.2]} 3.exd6 {[%clk 0:09:58.6]} cxd6 {[%clk 0:09:57.2]} 4.Qxd6 {[%clk 0:09:57.3]} Qxd6 {[%clk 0:09:56.3]} 5.e3 {[%clk 0:09:56.1]} Qd2+ {[%clk 0:09:55.3]} 6.Kxd2 {[%clk 0:09:55.3]}

Correct, import game strips the game from all comments including move times, since they are comments. Use study instead.

As for exporting games with move times, you can already do this. Your profile, hamburger menu, export games or https://lichess.org/@/acsm92/download and toggle on move times. You can also do this with individual games, just go to share & export under the board and right-click on let's say download raw, copy URL and paste it into new tab, change clocks=0 to 1. See https://lichess.org/api for more parameters.

Correct, import game strips the game from all comments including move times, since they are comments. Use study instead. As for exporting games with move times, you can already do this. Your profile, hamburger menu, export games or https://lichess.org/@/acsm92/download and toggle on move times. You can also do this with individual games, just go to share & export under the board and right-click on let's say download raw, copy URL and paste it into new tab, change clocks=0 to 1. See https://lichess.org/api for more parameters.

I recognize that the functionality exists through studies, but it would be much more convenient if it were available directly via the game import feature. I rely on this extensively as I use the API to process hundreds of games daily for a large VR Chess community where preservation of timestamps in game review is very useful. Although our members favor lichess for game review and analysis, this particular feature remains notably absent. Given that a similar capability already exists in studies but is not really a viable solution given the volume of games being imported, it seems both feasible and worthwhile to integrate it directly. Thousands of VR Chess users would appreciate this addition.

I recognize that the functionality exists through studies, but it would be much more convenient if it were available directly via the game import feature. I rely on this extensively as I use the API to process hundreds of games daily for a large VR Chess community where preservation of timestamps in game review is very useful. Although our members favor lichess for game review and analysis, this particular feature remains notably absent. Given that a similar capability already exists in studies but is not really a viable solution given the volume of games being imported, it seems both feasible and worthwhile to integrate it directly. Thousands of VR Chess users would appreciate this addition.

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