dates() fails to parse "next week"
See original GitHub issuedates()
fails to parse "next week"
properly.
It parses it but does not create a date for this.
This library can parse dates well (as does your spacetime library) including next week
.
https://github.com/wanasit/chrono
Thank you for creating this library. I appreciate your work.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why does Date.parse give incorrect results? - Stack Overflow
Until the 5th edition spec came out, the Date.parse method was completely implementation dependent ( new Date(string) is equivalent to ...
Read more >dateparser not able to parse things like next tuesday. #573
It parses Tuesday to the date of the Tuesday of the current week but when input is next Tuesday it returns none.
Read more >User friendly date-time parsing functions - lubridate
parse_date_time() parses an input vector into POSIXct date-time object. ... This might result in All formats failed to parse error. See notes below....
Read more >Datetime Patterns for Formatting and Parsing - Apache Spark
Exactly 4 pattern letters will use the full text form, typically the full description, e.g, day-of-week Monday might output “Monday”. 5 or more...
Read more >lubridate parsing dates automatically - Jenny Richmond
I've been looking at old Tidy Tuesday datasets this week to try and work out why sometimes date data is automatically parsed as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks Taylor, I’ve always seen date-parsing as the most important thing that compromise should do. I agree with your examples. Right now this library is in ‘quality denial’ stage, but changing this is a priority for me this year, and in the next few months. Help is of course welcome @thegoatherder .
Maybe it’s corny, but i’m particularly excited about having a lot of tests - even though they aren’t passing. Maybe one thing that would be helpful is to add a huge number of exhaustive tests - that’s the only way this thing is going to ever be good.
You mentioned week-startings - we’re using spacetime which supports configuring the start of the week, so that should be easy to do.
ya - the current config options are
timezone
, andtoday
. But we should support british-endian preference, and week-starting preference immediately.cleaning up old issues, these appear to work now:
cheers