Skip to content
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

Google::Graph first bar (es. month) does not respect the start of the chosen date #70

Open
eniocarboni opened this issue Mar 9, 2016 · 0 comments
Labels

Comments

@eniocarboni
Copy link
Contributor

Suppose we use The Google::Graph plugin (date_resolution="month") and my first query is

# now use range date:
<MY_EPRINTS_BASE_URL>/cgi/stats/report/?range=6m&view_range=View
# render date: Set 7, 2015 - Mar 7, 2016

the render graph on September is from 07 Set to 30 Set, as i expected and this is good,

then the second query is

# now use "from date" and "to date"
<MY_EPRINTS_BASE_URL>/cgi/stats/report/?from=2015-09-07&to=2016-03-07
# render date as before: Set 7, 2015 - Mar 7, 2016

but the render graph on September is from 01 Set to 30 Set, all month

This behavior, unwanted, is given by the "sub Google::Graph.pm::get_data" from line 50 to 65
I think that these lines could be eliminated.

@eniocarboni eniocarboni changed the title Google::Graph first bar (es. month) does not respect the start of then chosen date Google::Graph first bar (es. month) does not respect the start of the chosen date Mar 9, 2016
@jiadiyao jiadiyao added the bug label Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants