chronic icon indicating copy to clipboard operation
chronic copied to clipboard

request: teach chronic to parse "last quarter", "this quarter", etc.

Open aahoughton opened this issue 14 years ago • 11 comments

If you're feeling studly, you could include a setting for "start of quarter-year", e.g., Oct 1st. Otherwise, the quarter-year would start on Jan 1, 00:00, and .. I think .. be almost exactly equivalent to seasons.

aahoughton avatar Nov 30 '10 01:11 aahoughton

+1 vote from me :)

brianstarke avatar Jan 10 '11 20:01 brianstarke

+1 here

PHILL avatar Aug 24 '11 22:08 PHILL

I do plan on implementing this, but I don't want to set a milestone just yet. I'm currently in the process of immigration so I don't have a lot of time on my hands. If anyone wants to take a shot at this feature, you're welcome to. A QuarterRepeater should be fairly trivial to implement, my main focus is on bugs until I have more time, though. It is coming!

leejarvis avatar Aug 25 '11 07:08 leejarvis

I like this, I think it should be a wider feature though with configurable ranges and contexts I would like to be able to use last working week / next working week / 2 working weeks ago and be returned a range, not just of the 7 days previous like 'last week' does but actual working weeks monday-friday.

Chronic.parse 'last working week', :guess => false it includes the weekend, maybe this is silently removing the 'working' part of my query

raldred avatar Oct 05 '11 11:10 raldred

Check out this project:

https://github.com/asanghi/fiscali

... it may help define what "first quarter" means.

belt avatar Jan 03 '12 16:01 belt

I want to know, this issues was solved?

JeskTop avatar May 14 '13 03:05 JeskTop

@JeskTop No, that's why it's still marked as open.

leejarvis avatar May 14 '13 06:05 leejarvis

Review on #273 appreciated.

mkdynamic avatar Sep 12 '14 23:09 mkdynamic

+1

evansagge avatar Apr 20 '15 18:04 evansagge

+1

EpSch avatar Mar 11 '22 09:03 EpSch

Any idea of a good, already working workaround?

EpSch avatar Mar 11 '22 09:03 EpSch