Pawnote icon indicating copy to clipboard operation
Pawnote copied to clipboard

feat: add a parser for `date_as_french` in discussions

Open Vexcited opened this issue 1 year ago • 2 comments

Output is very variable, see example below. Because of this behavior, we can't transform this into a date.

Output example :

"lundi 08h53"

or can just be the hour :

"07h26"

Vexcited avatar Mar 12 '24 20:03 Vexcited

Hi, I can see that a wrapper already exist at src/decoders/pronote-date.ts which is decodePronoteDate, isn't like you want ?

Gabriel29306 avatar Apr 24 '25 19:04 Gabriel29306

Hi, I can see that a wrapper already exist at src/decoders/pronote-date.ts which is decodePronoteDate, isn't like you want ?

No, decodePronoteDate is for dates formatted as dd/mm/yyy [HH:MM[:SS]] as I remember. It is not done for the purpose described in the issue description.

Vexcited avatar Apr 27 '25 09:04 Vexcited