andeedee / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

show month in words(Jan, Feb, Mar) #46

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.$start = date('Y-m-01', strtotime('-1 month'));
2.$end = date('Y-m-d', strtotime('-1 month'));
3.

What is the expected output? What do you see instead?
I want the month to appear shortened. Instead, the numbering of months appears 
in its place. When replacing 'Y-m-d' by 'Y-m-d' the following error appears: 
"Invalid value for end-date parameter".

What version of the product are you using? On what operating system?
EasyPHP 5.3.1.0, last ga:pi() and Windows 7 Ultimate x64

Please provide any additional information below.
Parameters to date do not work? How to fix this issue?

Original issue reported on code.google.com by xavierba...@gmail.com on 18 Oct 2010 at 7:37

GoogleCodeExporter commented 9 years ago
You should leave this formatting to 'Y-m-d'.
You can change the output (formatting of the results) with 'Y-M-d' (which 
returns 2013-Nov-25) etc. But the query must be in the original format I 
believe.

Original comment by automati...@gmail.com on 25 Nov 2013 at 12:25