1998 Grand Prix de Denain
The 1998 Grand Prix de Denain was the 40th edition of the Grand Prix de Denain cycle race and was held on 23 April 1998. The race was won by Jaan Kirsipuu.[2]
Race details | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Dates | 23 April 1998 | |||||||||
Stages | 1 | |||||||||
Distance | 189[1] km (117.4 mi) | |||||||||
Winning time | 4h 18' 25" | |||||||||
Results | ||||||||||
| ||||||||||
General classification
Final general classification[2][3][4]
|
gollark: It's 00:00 now.
gollark: oh dear.
gollark: Well, the outsourced `parsedatetime` stuff can probably do it.
gollark: Good luck.
gollark: Fine.```python# from here: https://github.com/Rapptz/RoboDanny/blob/18b92ae2f53927aedebc25fb5eca02c8f6d7a874/cogs/utils/time.pyshort_timedelta_regex = re.compile("""(?:(?P<years>[0-9]{1,8})(?:years?|y))? # e.g. 2y(?:(?P<months>[0-9]{1,8})(?:months?|mo))? # e.g. 2months(?:(?P<weeks>[0-9]{1,8})(?:weeks?|w))? # e.g. 10w(?:(?P<days>[0-9]{1,8})(?:days?|d))? # e.g. 14d(?:(?P<hours>[0-9]{1,8})(?:hours?|h))? # e.g. 12h(?:(?P<minutes>[0-9]{1,8})(?:minutes?|m))? # e.g. 10m(?:(?P<seconds>[0-9]{1,8})(?:seconds?|s))? # e.g. 15s """, re.VERBOSE)def parse_short_timedelta(text): match = short_timedelta_regex.fullmatch(text) if match is None or not match.group(0): raise ValueError("parse failed") data = { k: int(v) for k, v in match.groupdict(default=0).items() } return datetime.datetime.utcnow() + relativedelta(**data)cal = parsedatetime.Calendar()def parse_humantime(text): time_struct, parse_status = cal.parse(text) if parse_status == 1: return datetime.datetime(*time_struct[:6]) else: raise ValueError("parse failed")def parse_time(text): try: return datetime.datetime.strptime(text, "%d/%m/%Y") except: pass try: return parse_short_timedelta(text) except: pass try: return parse_humantime(text) except: pass raise ValueError("could not parse time")```
References
- "Grand Prix de Denain (1.1), France". BikeRaceInfo. Retrieved 4 April 2018.
- "39th GP Denain, Cat 1.3". Cycling News. Retrieved 4 April 2018.
- "GP de Denain". WVCycling. Retrieved 4 April 2018.
- "1998 GP de Denain - Porte du Hainaut". First Cycling. Retrieved 4 April 2018.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.