-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom yearquarter() character parser #107
Labels
Comments
Here is a regular expression that can be used: |
Can you do a PR then?
…On Fri, 5 Apr 2019 at 10:05, mitchelloharawild ***@***.***> wrote:
Here is a regular expression that can be used: \d{4} *Q\d|Q\d *\d{4}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#107 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACV6mMKl9ipFgeVsb4jAjoejfHOzQ_euks5vdoVXgaJpZM4cd2qA>
.
|
Sure. |
can you make sure it captures “Q”, Qtr, Quarter, and lowercase q as well?
…On Fri, 5 Apr 2019 at 10:15, mitchelloharawild ***@***.***> wrote:
Sure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#107 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACV6mB92niZFfBEio6mBEonqav0bpsM4ks5vdod2gaJpZM4cd2qA>
.
|
also it doesn’t need 4 digits, can be 2 digits for year.
…On Fri, 5 Apr 2019 at 10:16, Earo Wang ***@***.***> wrote:
can you make sure it captures “Q”, Qtr, Quarter, and lowercase q as well?
On Fri, 5 Apr 2019 at 10:15, mitchelloharawild ***@***.***>
wrote:
> Sure.
>
> —
> You are receiving this because you commented.
>
>
> Reply to this email directly, view it on GitHub
> <#107 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACV6mB92niZFfBEio6mBEonqav0bpsM4ks5vdod2gaJpZM4cd2qA>
> .
>
|
What's your year threshold for parsing 2 digit years? |
Right. Please abort if the number of digits < 4
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As
anytime
cannot parse"2004 Q2"
or"Q2 2004"
, can we add a simple parser for these formats? If the input format does not match this, it could fall back to anytime.cc @robjhyndman
The text was updated successfully, but these errors were encountered: