2015-06-07 - Re: [GRASE-Hotspot] Nightly Changes

Header Data

From: Edward Allen <yb***j@gmail.com>
Message Hash: 2564f4b1029b23d3574154fce45c4b29bf28d7e6a71769f449c0405eadfa6137
Message ID: <CAGUY4fwyoBdws6HT-W3v72U_uT5zwiNxX1wFLKxaN5_9vUzfgw@mail.gmail.com>
Reply To: <CAESLx0LqLaidqVd7tGWK-vaxU8KtkDNkLB-M6k_cNbDc8qTq3Q@mail.gmail.com>
UTC Datetime: 2015-06-07 19:39:10 UTC
Raw Date: Sun, 07 Jun 2015 21:39:10 -0500

Raw message

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

Thread