2015-06-08 - Re: [GRASE-Hotspot] Nightly Changes
Header Data
From: Timothy White <ti***8@gmail.com>
Message Hash: 76be0ad3db30619f7fbd761b37cd6c712fc67e0d222cf6f1932c67987cb53a32
Message ID: <CAESLx0KZzQ=0FtGW=FwtGPYeehnBimPLqEXhz2qfJ+PfUkZueQ@mail.gmail.com>
Reply To: <CAGUY4fwyoBdws6HT-W3v72U_uT5zwiNxX1wFLKxaN5_9vUzfgw@mail.gmail.com>
UTC Datetime: 2015-06-08 13:51:08 UTC
Raw Date: Tue, 09 Jun 2015 06:51:08 +1000
Raw message
Hi Edward
I think your timezone settings for PHP are incorrect then. Run the
following commands and show us the output.
echo "<?php echo date('r', strtotime('last day of next month
23:59:59'));?>" | php
date -R
php -i|grep -i timezone
It's possible to have your PHP timezone and your system timezone set
differently. This will cause the date generated by PHP to be in a different
timezone to what the system is running in.
In all my tests of strtotime, I'm getting the correct results. Internally,
all Grase is doing is running strtotime at the point of creating a user.
Regards
Tim
On Mon, Jun 8, 2015 at 12:39 PM, Edward Allen <yb***j@gmail.com> wrote:
> Whilst those options are accepted the results are incorrect
>
> On Fri, Jun 5, 2015 at 8:36 PM, Timothy White <ti***8@gmail.com>
> wrote:
>
>>
>>
>> On Mon, Jun 1, 2015 at 2:13 PM, Edward Allen <yb***j@gmail.com> wrote:
>>
>>> It worked fine in the previous nightlies. up to the version available 3
>>> weeks ago not sure if it was broken by any new system updates or its due to
>>> the new nightly. Timezone is perfect and shouldn’t cause the issue seen
>>> that the setting is absolute, using 24h format.
>>> FYI, some formats don’t work with strtime as advertised. eg. "fifth day
>>> of next month" wont work whilst "first" or "last" "day of next month" would
>>> work perfectly.
>>>
>>>
>> Hi Edward
>>
>> I've done some playing around. "last day of next month 23:59:59" is
>> working for me. However, the PHP strtotime function is a little interesting.
>>
>> The following work:
>>
>> - next month fifth day midnight
>> - fifth day next month
>>
>> The following does not
>>
>> - fifth day of next month
>>
>> A quick an easy way to test a string, open up a terminal and run the
>> following command adjusting the string until you get a value to print out.
>>
>> echo "<?php echo strtotime('fifth day next month');?>" | php
>>
>> Regards
>>
>> Tim
>>
>> --
>> This mailing list is for the Grase Hotspot Project
>> http://grasehotspot.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to gr***e@grasehotspot.org.
>> To post to this group, send email to gr***t@grasehotspot.org.
>> Visit this group at
>> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0LqLaidqVd7tGWK-vaxU8KtkDNkLB-M6k_cNbDc8qTq3Q%40mail.gmail.com
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0LqLaidqVd7tGWK-vaxU8KtkDNkLB-M6k_cNbDc8qTq3Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
>
> --
> ---
>
> Edward Allen
> Network/System/IT Solutions Provider/Consultant
> Voice: 876-891-8982, 876-797-3226
> yb***j@gmail.com
> Kingston, Jamaica
>
> --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAGUY4fwyoBdws6HT-W3v72U_uT5zwiNxX1wFLKxaN5_9vUzfgw%40mail.gmail.com
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAGUY4fwyoBdws6HT-W3v72U_uT5zwiNxX1wFLKxaN5_9vUzfgw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
Thread
- Return to May 2015
-
Return to June 2015
- Return to “KIRA Ynet <ki***0@gmail.com>”
- Return to “kralan <kr***n@gmx.at>”
- Return to “ku***e@gmail.com”
- Return to “Louis <lo***3@gmail.com>”
- Return to “Louis Kwenda <lo***3@gmail.com>”
- Return to “Timothy White <ti***8@gmail.com>”
- Return to “Tomas213 <to***3@gmail.com>”
-
Return to “Edward Allen <yb***j@gmail.com>”
- 2015-05-26 (Tue, 26 May 2015 21:54:00 +1000) - Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-26 (Tue, 26 May 2015 15:17:12 +0300) - Re: [GRASE-Hotspot] Nightly Changes - Tomas213 <to***3@gmail.com>
- 2015-05-26 (Tue, 26 May 2015 18:10:51 -0700) - Re: Nightly Changes - KIRA Ynet <ki***0@gmail.com>
- 2015-05-26 (Wed, 27 May 2015 05:37:26 +0100) - Re: [GRASE-Hotspot] Re: Nightly Changes - ku***e@gmail.com
- 2015-05-27 (Wed, 27 May 2015 01:19:45 -0700) - Re: [GRASE-Hotspot] Re: Nightly Changes - KIRA Ynet <ki***0@gmail.com>
- 2015-05-27 (Wed, 27 May 2015 09:35:29 +0100) - Re: [GRASE-Hotspot] Re: Nightly Changes - ku***e@gmail.com
- 2015-05-27 (Wed, 27 May 2015 01:19:45 -0700) - Re: [GRASE-Hotspot] Re: Nightly Changes - KIRA Ynet <ki***0@gmail.com>
- 2015-05-26 (Wed, 27 May 2015 05:37:26 +0100) - Re: [GRASE-Hotspot] Re: Nightly Changes - ku***e@gmail.com
- 2015-05-27 (Wed, 27 May 2015 06:46:02 -0700) - Re: Nightly Changes - Louis <lo***3@gmail.com>
- 2015-05-27 (Wed, 27 May 2015 11:23:54 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-05-27 (Wed, 27 May 2015 21:35:15 +0200) - Re: [GRASE-Hotspot] Nightly Changes - Louis Kwenda <lo***3@gmail.com>
- 2015-05-28 (Fri, 29 May 2015 11:02:30 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-28 (Thu, 28 May 2015 20:13:42 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-05-28 (Fri, 29 May 2015 13:36:11 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-31 (Sun, 31 May 2015 19:07:02 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-05-31 (Mon, 01 Jun 2015 11:24:27 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-31 (Sun, 31 May 2015 23:13:53 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-06-05 (Sat, 06 Jun 2015 11:36:44 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-06-07 (Sun, 07 Jun 2015 21:39:10 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-06-08 (Tue, 09 Jun 2015 06:51:08 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-06-07 (Sun, 07 Jun 2015 21:39:10 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-06-05 (Sat, 06 Jun 2015 11:36:44 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-31 (Sun, 31 May 2015 23:13:53 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-05-31 (Mon, 01 Jun 2015 11:24:27 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-31 (Sun, 31 May 2015 19:07:02 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-05-28 (Fri, 29 May 2015 13:36:11 +1000) - Re: [GRASE-Hotspot] Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-28 (Thu, 28 May 2015 20:13:42 -0500) - Re: [GRASE-Hotspot] Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-05-31 (Sun, 31 May 2015 14:48:45 -0700) - Re: Nightly Changes - kralan <kr***n@gmx.at>
- 2015-05-31 (Mon, 01 Jun 2015 11:21:21 +1000) - Re: [GRASE-Hotspot] Re: Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-05-31 (Sun, 31 May 2015 23:04:41 -0700) - Re: [GRASE-Hotspot] Re: Nightly Changes - kralan <kr***n@gmx.at>
- 2015-06-01 (Mon, 01 Jun 2015 08:10:33 -0500) - Re: [GRASE-Hotspot] Re: Nightly Changes - Edward Allen <yb***j@gmail.com>
- 2015-06-05 (Sat, 06 Jun 2015 11:25:50 +1000) - Re: [GRASE-Hotspot] Re: Nightly Changes - Timothy White <ti***8@gmail.com>
- 2015-06-07 (Sun, 07 Jun 2015 02:50:17 -0700) - Re: [GRASE-Hotspot] Re: Nightly Changes - kralan <kr***n@gmx.at>
- 2015-05-31 (Sun, 31 May 2015 23:04:41 -0700) - Re: [GRASE-Hotspot] Re: Nightly Changes - kralan <kr***n@gmx.at>
- 2015-05-31 (Mon, 01 Jun 2015 11:21:21 +1000) - Re: [GRASE-Hotspot] Re: Nightly Changes - Timothy White <ti***8@gmail.com>