Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #9282

Re: setDate()

From Jake Jarvis <pig_in_shoes@yahoo.com>
Newsgroups comp.lang.javascript
Subject Re: setDate()
Date 2011-12-15 23:25 +0100
Message-ID <9kvaegFk3sU1@mid.uni-berlin.de> (permalink)
References <etdie7d0tt50b7kbo00l0ojfgfggqhj9ui@4ax.com> <jccljb$ki9$1@dont-email.me> <p3lke718e2koi7flu9fjqrcbuumshmpkt7@4ax.com> <Xns9FBCE67B36A38eejj99@194.109.133.133>

Show all headers | View raw


On 15.12.2011 22:39, Evertjan. wrote:
> Gene Wirchenko wrote on 15 dec 2011 in comp.lang.javascript:
>>>>       Is this behaviour that I can count on?
> [...]
>> JavaScript's standard:
>>
>> http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
>> Did I get the right one?
>
> This is like saying you cannot get killed having green at the traffic
> lights, BECAUSE the law says other lights must have red.
>
> No, ECMA defines how a javascript engine should work in their eyes,
> no javascript engine works exactly that way, because the builders of the
> engines either think of an in their eyse better way, or because they made
> stupid mistakes.
>
> So you cannot count on what ECMA says.
>
> You should test it.
>

Test *what*?

What *does* ECMA say about date objects and rolling over/under/around?

I am curious, can it be decided whether the pertinent "helper
procedures" in the specification are correct and do handle the rolling?

(I'd lean towards yes, it can be decided, but I don't "see" it)

-- 
Jake Jarvis

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

setDate() Gene Wirchenko <genew@ocis.net> - 2011-12-14 16:00 -0800
  Re: setDate() Jake Jarvis <pig_in_shoes@yahoo.com> - 2011-12-15 01:09 +0100
    Re: setDate() Gene Wirchenko <genew@ocis.net> - 2011-12-14 18:37 -0800
      Re: setDate() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-15 12:23 +0000
        Re: setDate() Gene Wirchenko <genew@ocis.net> - 2011-12-15 12:11 -0800
          Re: setDate() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-15 21:27 +0000
            Re: setDate() Gene Wirchenko <genew@ocis.net> - 2011-12-15 15:26 -0800
              Re: setDate() Swifty <steve.j.swift@gmail.com> - 2011-12-16 06:29 +0000
              Re: setDate() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-16 08:41 +0000
  Re: setDate() Jake Jarvis <pig_in_shoes@yahoo.com> - 2011-12-15 12:28 +0100
    Re: setDate() Gene Wirchenko <genew@ocis.net> - 2011-12-15 12:12 -0800
      Re: setDate() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-15 21:39 +0000
        Re: setDate() Jake Jarvis <pig_in_shoes@yahoo.com> - 2011-12-15 23:25 +0100
          Re: setDate() Jake Jarvis <pig_in_shoes@yahoo.com> - 2011-12-15 23:28 +0100
          Re: setDate() Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-12-17 00:04 +0100
            Re: setDate() Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-12-17 00:06 +0100
        Re: setDate() Swifty <steve.j.swift@gmail.com> - 2011-12-16 06:35 +0000
          Re: setDate() "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-16 08:29 +0000
  Re: setDate() Dr J R Stockton <reply1150@merlyn.demon.co.uk> - 2011-12-16 22:17 +0000

csiph-web