dateitems day-of-week disjunction

Devin Asay devin_asay at byu.edu
Wed Jan 25 13:27:02 EST 2017


Fix submitted.

https://github.com/livecode/livecode/pull/5118

Devin


On Jan 25, 2017, at 10:28 AM, panagiotis merakos via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

It was confirmed as a docs bug some time ago:

http://quality.livecode.com/show_bug.cgi?id=16044

Panos
--

On Wed, Jan 25, 2017 at 5:23 PM, Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

I believe it depends on the system settings. If your localization is set
to where Sunday is the 1st day of the week, then Wednesday would in fact be
the 4th.

Bob S


On Jan 25, 2017, at 09:16 , Ben Rubinstein via use-livecode <
use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>>
wrote:

The dictionary says that the seventh item of dateitems is
the numeric day of the week where Monday is day 1, Tuesday is day 2, and
so forth

When I try this I find that today, Wednesday, the seventh item is 4.  If I
change the date to Sunday, it's 1.

(Both docs and behaviour are consistent with 6.7.11 or 8.1.3 (rc 1) or
versions in between.)

Is this an error in the documentation, or an error in the code (in which
case too long standing to change, so it might as well be treated as an
error in the docs); or is it due to some setting somewhere?

TIA.

Ben

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Director
Office of Digital Humanities
Brigham Young University




More information about the use-livecode mailing list