Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #14435
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Dealing with timestamps from different timezones - general approach for basic saving? |
| Date | 2014-10-30 18:38 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <m2uelb$ld2$1@dont-email.me> (permalink) |
| References | <cd058cd0-6ace-447c-b4cf-482117630dc0@googlegroups.com> <m2ovkq$1c3$1@dont-email.me> <3237691.dGveQkY2Hi@PointedEars.de> <m2tghg$vpt$1@dont-email.me> <1678143.gufaXuZXlV@PointedEars.de> |
On 10/30/2014 5:38 PM, the troll Thomas 'Pointed Head' Lahn wrote: > Jerry Stuckle wrote: > >> [abuse] Thomas 'Pointed Head' Lahn wrote: >>> Jerry Stuckle wrote: >>>> 1. Ask for their timezone and save it in a cookie (an extra operation on >>>> their part) >>> Or local storage. For privacy, in a server-side session. Could be in a >>> database. >> >> And how are you going to do that unless they sign in? > > 1. STFW for “Local Storage”. > > 2. Server-side (PHP) sessions set a cookie with a session ID, but the > privacy-critical payload is stored on the server. No sign-in necessary. > And just how is he supposed to get the timezone from your answer? A typical "Pointed Head" response - you don't know the answer but you have to make a fool of yourself anyway. BTW - what's wrong with storing the timezone in a cookie? There isn't any security issue here - if the user changes the contents of the cookie, it will just display the wrong time for him. >>>> 2. Use javascript to fetch the user's timezone and display it >>>> accordingly (off topic in a PHP newsgroup) >>> >>> It would be the *system’s* timezone, which is why it is error-prone. >> >> It is the user's system - not the server system. > > *sigh* I know. Nobody but you, now, referred to the server in *that* > regard. The point here is, it would be not the user’s timezone, but that of > the local computer system. Big difference. > Yes, and I don't know about you, but people keep their local system timezone to the one they want their time displayed in. >> Only you wouldn't know what I mean. > > You know far, far less about me than you think. > I know far MORE than you do, obviously. But this is just another typical "Pointed Head" response. >>>> 3. Use a combination of #1 and #2 and set a cookie with the timezone, >>>> but it won't work on the first page they display (because the javascript >>>> doesn't run until after the page is displayed. You would have to use >>>> javascript to reload the page. >>> Not necessarily. And there is no javascript. >>> >>> <http://PointedEars.de/es-matrix> >> >> There is javascript […] > > Only in the heads of wannabes who could not tell a property accessor from an > Array initialiser, and an operator from different syntactical constructs. > Only in your mind, Pointed Head. The rest of the world knows better. Now why don't you crawl back into your little hole. But please don't insert your head where the sun doesn't shine - the point might perforate your colon. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Dealing with timestamps from different timezones - general approach for basic saving? e.blumstengel@googlemail.com - 2014-10-28 12:42 -0700
Re: Dealing with timestamps from different timezones - general approach for basic saving? Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-28 16:51 -0400
Re: Dealing with timestamps from different timezones - general approach for basic saving? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-30 08:14 +0100
Re: Dealing with timestamps from different timezones - general approach for basic saving? Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-30 10:04 -0400
Re: Dealing with timestamps from different timezones - general approach for basic saving? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-30 22:38 +0100
Re: Dealing with timestamps from different timezones - general approach for basic saving? Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-30 18:38 -0400
Re: Dealing with timestamps from different timezones - general approach for basic saving? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-31 05:33 +0100
Re: Dealing with timestamps from different timezones - general approach for basic saving? Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-31 09:51 -0400
Re: Dealing with timestamps from different timezones - general approach for basic saving? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-01 09:31 +0100
Re: Dealing with timestamps from different timezones - general approach for basic saving? Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-01 09:31 -0400
drifted into ABUSE: Re: Dealing with timestamps bill <william@TechServSys.com> - 2014-11-01 11:21 -0400
Re: drifted into ABUSE: Re: Dealing with timestamps Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-01 17:04 +0100
Re: drifted into ABUSE: Re: Dealing with timestamps Jerry Stuckle <jstucklex@attglobal.net> - 2014-11-01 21:32 -0400
Re: drifted into ABUSE: Re: Dealing with timestamps Tim Streater <timstreater@greenbee.net> - 2014-11-02 09:27 +0000
Re: Dealing with timestamps from different timezones - general approach for basic saving? Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-29 01:50 +0000
csiph-web