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


Groups > comp.lang.javascript > #29555

Re: "weekly" javascript?

Subject Re: "weekly" javascript?
Newsgroups comp.lang.javascript
References <super70s-3DE5C2.10244827122015@reader.albasani.net> <XmlHttpRequest-JSON-DHTML-20151227174128@ram.dialup.fu-berlin.de> <super70s-2E4557.12031327122015@reader.albasani.net> <week-20151227192148@ram.dialup.fu-berlin.de>
From RobG <rgqld@iinet.net.au>
Date 2016-02-06 17:06 +1000
Message-ID <VdSdndHTUI4MBijLnZ2dnUU7-SmdnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


On 28/12/2015 04:27, Stefan Ram wrote:
> super70s <super70s@super70s.invalid> writes:
>> OK, but how do I indicate the appropriate element to come up according
>> to the week of year?
>
>    The rules for the determination of the week of the year
>    depend on the culture (locale). Germany (»Kalenderwoche«)
>    might have other rules than the United States of America.

Culture and locale are distinctly different concepts. Germany and USA 
are countries defined by administrative boundaries, each encompassing a 
great many locales and cultures.


>    So, you first need to decide which culture to use.

Culture? My grandmother thought I had none, so better to not start there.

A better place might be the administrative areas in which most of your 
users reside (perhaps countries or continental regions) and then look to 
the systems the administrators of those areas have chosen.

If you have a truly global audience, then chose the one most 
administrations have chosen, which is likely ISO 8601.



-- 
Rob

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


Thread

Re: "weekly" javascript? super70s <super70s@super70s.invalid> - 2015-12-27 12:03 -0600
  Re: "weekly" javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-28 12:26 +0100
  Re: "weekly" javascript? RobG <rgqld@iinet.net.au> - 2016-02-06 17:06 +1000
    Re: "weekly" javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-02-06 10:59 +0100

csiph-web