Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33412
| Path | csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: convert dob into days |
| Followup-To | poster |
| Date | Fri, 26 May 2017 00:35:57 +0200 |
| Organization | PointedEars Software (PES) |
| Lines | 62 |
| Message-ID | <40438691.fMDQidcC6G@PointedEars.de> (permalink) |
| References | <d839a415-1bb6-485b-a72d-ca9cd4984b52@googlegroups.com> <3168351.R56niFO833@PointedEars.de> <zSmVA.27368$Qg.7212@fx14.iad> <3278626.MHq7AAxBmi@PointedEars.de> <tFpVA.38624$8c1.28455@fx19.iad> <1695443.taCxCBeP46@PointedEars.de> <MtFVA.170554$Dm2.37866@fx44.iad> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| NNTP-Posting-Host | 80.227.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | gwaiyur.mb-net.net 1495751759 13102 178.197.227.80 (25 May 2017 22:35:59 GMT) |
| X-Complaints-To | abuse@open-news-network.org |
| NNTP-Posting-Date | Thu, 25 May 2017 22:35:59 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-Face | %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== |
| Xref | csiph.com comp.lang.javascript:33412 |
Followups directed to: poster
Show key headers only | View raw
Mark Lloyd wrote:
> On 05/25/2017 06:45 AM, Thomas 'PointedEars' Lahn wrote:
>> Premature optimization is the root of all evil. Suppose the OP bought
>> into that approach and concluded that this would mean that they would
>> never have to do the rounding, someone in the country of Absurdistan[tm]
>> where clocks are switched at noon (when people would have siesta anyway)
>> would get the wrong value for their age in days if an odd number of DST
>> switches would lie between the dates.
>
> If setting the time to noon could cause an error in Absurdistan[tm]
> (proximity of DST change to default time), leaving the time set to
> midnight could cause an error in any REAL place that does the DST
> changes around midnight (some timezones in Europe do).
You are missing the point.
> Also, noon is actually correct. You're specifying a date only, noon
> gives you the mean ("average") of that time period.
Nonsense.
> BTW, I'd choose to still do the rounding. This is NOT an attempt to make
> the code shorter or faster, but more correct.
You don’t say.
>>>> Your From header field value is disregarding Netiquette.
>>>
>>> I haven't heard that one before. What about it to you consider
>>> undesirable?
>> Use of the “invalid” TLD by you is blocking the private e-mail feedback
>> channel which is an important part of Usenet communication.
>
> When I started using usenet, I put my real email address there. I
> changed it when that capability was so often abused. I'm not talking
> about spam (it comes anyway), but about replies that belong in the
> newsgroup.
What a nonsense. The private feedback channel is there so that subjects can
be discussed in private *because* they do NOT belong in the newsgroup.
> I will provide an E-mail address if necessary.
Not providing an e-mail address causes those replies either be posted to the
newsgroup, where they are off-topic, or it is effectively telling people to
shut up when they would like to tell you something that does not belong
there.
This is *anti-social* behavior by you.
> Usually it is not.
*PLONK*
F'up2 poster
--
PointedEars
FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
convert dob into days negisunny38@gmail.com - 2017-05-24 09:58 -0700
Re: convert dob into days "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-24 19:16 +0200
Re: convert dob into days negisunny38@gmail.com - 2017-05-24 10:31 -0700
Re: convert dob into days "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-24 23:08 +0200
Re: convert dob into days Mark Lloyd <not@mail.invalid> - 2017-05-24 16:33 -0500
Re: convert dob into days "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-25 16:29 +0200
Re: convert dob into days Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-24 20:06 +0200
Re: convert dob into days Mark Lloyd <not@mail.invalid> - 2017-05-24 16:24 -0500
Re: convert dob into days Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-25 01:00 +0200
Re: convert dob into days Mark Lloyd <not@mail.invalid> - 2017-05-24 19:35 -0500
Re: convert dob into days Jon Ribbens <jon+usenet@unequivocal.eu> - 2017-05-25 11:27 +0000
Re: convert dob into days Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-25 13:45 +0200
Re: convert dob into days Mark Lloyd <not@mail.invalid> - 2017-05-25 13:35 -0500
Re: convert dob into days Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-26 00:35 +0200
Re: convert dob into days Dr J R Stockton <J.R.Stockton@physics.org> - 2017-05-25 15:45 -0700
Re: convert dob into days "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-05-26 09:12 +0200
Re: convert dob into days Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-05-26 18:40 +0100
Re: convert dob into days Sam E <why.should.this@be.email.invalid> - 2017-05-27 10:14 -0500
Re: convert dob into days Dr J R Stockton <J.R.Stockton@physics.org> - 2017-05-24 14:36 -0700
csiph-web