Slashdot Mirror


BBC Clock Inaccurate - 100 Days To Fix?

mikejuk writes "The BBC home page has just lost its clock because the BBC Trust upheld a complaint that it was inaccurate. The clock would show the current time on the machine it was being viewed on and not an accurate time as determined by the BBC. However, the BBC have responded to the accusations of inaccuracy by simply removing the clock stating that it would take 100 staffing days to fix. It further says: 'Given the technical complexities of implementing an alternative central clock, and the fact that most users already have a clock on their computer screen, the BBC has taken the decision to remove the clock from the Homepage in an upcoming update.' They added, '...the system required to do this "would dramatically slow down the loading of the BBC homepage", something which he said was "an issue of great importance to the site's users". Secondly, if the site moved to a format in which users across the world accessed the same homepage, irrespective of whichever country they were in, it would be "impossible to offer a single zonally-accurate clock."'"

53 of 487 comments (clear)

  1. Not-so-accurate source by Sockatume · · Score: 4, Interesting

    I'm not sure I can trust a source which says "it has been stated that it would take 100 programmer hours to fix" then quotes a paragraph stating 100 staff days. Regardless it is harder than it looks: the BBC doesn't want to get into the business of running a time server, nor trying to automatically determine which time zone any particular visitor to the site happens to be in (by, what, IP address tracing?).

    --
    No kidding!!! What do you say at this point?
    1. Re:Not-so-accurate source by Pinhedd · · Score: 4, Funny

      Come on, everyone knows that public sector workers only work for one hour per day. Programmers are no exception.

    2. Re:Not-so-accurate source by Inda · · Score: 4, Insightful

      It's a cop-out, nothing more.

      Display the time in GMT. State that the time is in GMT. Offer a drop down menu showing "-12h" to "+12h", save the option in a cookie. Or don't. No one from the licence fee paying British public would mind if it only showed British time.

      Use someone else's time server. There are plenty to pick from. No need to run your own.

      It took me 2 minutes to type this. Who wants to implement it by Friday?

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    3. Re:Not-so-accurate source by jamesh · · Score: 3, Insightful

      I'm not sure I can trust a source which says "it has been stated that it would take 100 programmer hours to fix" then quotes a paragraph stating 100 staff days

      I think that's 100 programmer hours to fix the problems, and 100 staff days to field calls from a nation whose hobby is complaining about things that don't matter.

    4. Re:Not-so-accurate source by Faluzeer · · Score: 4, Informative

      It's a cop-out, nothing more.

      Display the time in GMT. State that the time is in GMT. Offer a drop down menu showing "-12h" to "+12h", save the option in a cookie. Or don't. No one from the licence fee paying British public would mind if it only showed British time.

      Use someone else's time server. There are plenty to pick from. No need to run your own.

      It took me 2 minutes to type this. Who wants to implement it by Friday?

      Hmmm

      GMT is only "British time" for half of the year. From the last Sunday in March to the last Sunday in October, we are on British Summer Time, which is GMT + 1. Given how many people get confused over summer / daylight savings time, I am sure that setting the BBC clock to GMT all year round would generate a lot of complaints.

    5. Re:Not-so-accurate source by jtownatpunk.net · · Score: 5, Insightful

      Seems simple until you start working through it. First you have to start tracking every goofy fall/spring variation in the world so you don't display a time that's an hour early or late. Then, do you just trust that the user has the correct time zone entered on their computer? Maybe they're travelling 3 time zones away. Do you use ip geolocation to get their approximate physical location and display that time? Say you do that. What if they're in NYC and surfing through their company VPN in Los Angeles? I guess on a tablet or phone, you might be able to get the location from the GPS. Wating for location fix...waiting for location fix...waiting for location fix.

      At some point during the discussions, someone pointed out that it's a silly thing to worry about since any device accessing their website already has the time displayed or available at the gesture of a mouse or finger.

    6. Re:Not-so-accurate source by Smivs · · Score: 2

      ...there's (a clock) in the bottom right hand corner of their screen at all times...

      That's not a clock, that's my workspaces! The clock is in the TOP right corner.

    7. Re:Not-so-accurate source by Sockatume · · Score: 3, Informative

      Further reading on dodgy assumptions about how computers handle time.

      --
      No kidding!!! What do you say at this point?
    8. Re:Not-so-accurate source by Sockatume · · Score: 2, Insightful

      Why would a web site visitor want to know the local time of the page they're viewing?

      --
      No kidding!!! What do you say at this point?
    9. Re: Not-so-accurate source by madprof · · Score: 2

      Is the BBC public sector? That is an interesting idea. It is not taxpayer funded. It is licence fee funded.

    10. Re:Not-so-accurate source by MichaelSmith · · Score: 4, Insightful

      GMT and UTC are important time references globally. I can see value in using them. And anyway, GMT isn't always local time in the UK.

    11. Re:Not-so-accurate source by MrDoh! · · Score: 4, Insightful

      Bingo. I deal with clients using our system globally, with ships crossing timezones/the dateline, handling requests booked in from other timezones, by people who travel around the world. In the end, the exceptions to any rules got silly. So the server's on Zulu time and everyone can look down at their own computer's clock/wristwatch/phone and figure things out. To be fair, there's some excellent tools for calculating all this, but keeping on top of it, and the risk if something changes and we miss it? Not good. Makes me wish the entire world was on one timezone/date, and everyone just got used to waking up at a different time around the globe. "What time is it in Cairo?" "Same as here mate" "what time do the wake up?" "whenever they feel like it, it looks like" And handling Brit/US officers? /groan. the date formats, THE DATE FORMATS! If only everyone used YYYYMMDD. Still, least I don't have to worry about having to figure out if to add tax or not depending if the shipment starts/stops/goes through certain ports and in what currency, at what rate. That was the stuff of nightmares.

      --
      Waiting for an amusing sig.
    12. Re: Not-so-accurate source by spacec0w · · Score: 5, Insightful

      I think most would consider the licence fee a sort of tax.

    13. Re: Not-so-accurate source by maroberts · · Score: 4, Insightful

      The License Fee MUST be paid if you won a TV set

      -- its a tax by any other name

      --

      Donte Alistair Anderson Roberts - hi son!
      Karma: Chameleon

    14. Re:Not-so-accurate source by tapi0 · · Score: 2

      for general websites, none. But in the case of the BBC the clock had been used for years as part of the station ident between programmes and could easily be justified as reflecting the corporate brand. see http://news.bbc.co.uk/1/hi/magazine/7271036.stm for more info.

    15. Re: Not-so-accurate source by spacec0w · · Score: 3, Informative

      From Wikipedia: "The money received from the fee represents approximately 75% of the cost of these services with most of the remainder coming from the profits of BBC Worldwide — a commercial wing of the corporation which sells programmes and runs stations overseas (such as BBC World News), as well as other business allied to broadcasting such as publishing."

    16. Re:Not-so-accurate source by agentgonzo · · Score: 3, Informative

      'UTC' isn't French. The french version is TUC: Temps Universel Coordonné. UTC is a compromise between the English (CUT) and French (TUC). http://en.wikipedia.org/wiki/Coordinated_Universal_Time#Abbreviation

    17. Re: Not-so-accurate source by the_other_chewey · · Score: 3, Funny

      The License Fee MUST be paid if you won a TV set

      What if I simply bought one?

    18. Re: Not-so-accurate source by isorox · · Score: 4, Informative

      The License Fee MUST be paid if you won a TV set

      -- its a tax by any other name

      Wrong. The License Fee MUST be paid if you use a device to receive and decoder television transmissions, the medium could be Terrestial, Cable, Satelite, or IP.

      You don't need a license if you own a TV. You don't need one if you use things like iplayer on catchup. You only need one if you watching live tv.

    19. Re:Not-so-accurate source by Chris+Mattern · · Score: 2

      GMT is a geographical division. So even if you're on DST, you're still in GMT, NOT GMT+1. The zones do not shift just because of DST.

      Wrong! A time zone don't change; it is defined by its UTC offset. When you go to DST, you change by changing your time zone. Here on the East of the US, we do it by changing our zone from Eastern Standard Time (EST, UTC -5 hours), to Eastern Daylight Time (EDT, UTC -4 hours). In Britain, they do it by changing their zone from Greenwich Mean Time (GMT, UTC +0 hours) to British Summer Time (BST, UTC +1 hour).

    20. Re:Not-so-accurate source by Half-pint+HAL · · Score: 5, Funny

      I think that's 100 programmer hours to fix the problems, and 100 staff days to field calls from a nation whose hobby is complaining about things that don't matter.

      Dear Points of View,

      I would like to raise two problems with JamesH's post of the 6th of June. Firstly, he mistakes us for "a nation", despite the constitutional recognition of our 4 different nationalities within the united state.

      Secondly, he alleges that we tend to complain about things that don't matter, which is a scurrilous accusation with no foundation in fact.

      Yours faithfully
      Disgusted
      Tunbridge Wells

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    21. Re: Not-so-accurate source by garyok · · Score: 4, Interesting

      The TV licensing chaps often like to think of themselves as some sort of police force, and will often try to threaten or cajole people in either of the above two categories into buying a license anyway, but they don't have a legal leg to stand on. They can't demand you buy a license or enter your home without permission or a warrant. IME, warrants are very rarely issued to the TV licensing chaps because the judges know they like to throw their weight around and bully people.

      I don't know where you're hearing that from. I've gone round with a TV Licencing officer on his rounds through Watford and I've witnessed first-hand how they operate. He never entered a home without permission, he just asked politely and all but one person said yes (the one that said no actually threatened to punch our teeth out - pity we could see the TV tuned to BBC2 from the doorstep...) As far as I'm aware, about 50% of the visits resulted in no follow-up action due to compassionate reasons. The only ones that were referred for further action were people who could pay, but thought they should be allowed to get away with it.

      I love the BBC, especially all the various documentaries and the occasional drama. But no-one else in our house watches live TV either and didn't see the point in paying the money, so to get all those BBC4 documentaries I like so much, I scour iPlayer to watch them after they've been broadcast and buy the DVD if and when they become available.

      i.e. people like you.

      --
      One of the penalties for refusing to participate in politics is that you end up being governed by your inferiors - Plato
    22. Re: Not-so-accurate source by stiggle · · Score: 4, Informative

      No you don't. You only need a license to watch or record broadcast TV live (or near live - a few seconds diff)
      So:
      live retransmitter sites - license required.
      on-demand sites - NO license required.
      iPlayer to watch something live - license required.
      iPlayer to watch something broadcast yesterday - NO license required.

      http://iplayerhelp.external.bbc.co.uk/help/playing_tv_progs/tvlicence

    23. Re:Not-so-accurate source by war4peace · · Score: 5, Funny

      Reminds me of a joke.

      A guy applies for a public sector job. The interviewer asks him if he drinks any coffee, guy says "no, I'm not allowed to have coffee because of the surgery I've done in the past. You know, when I fought in Iraq, a bomb exploded and mangled my balls, so they have been removed."
      The interviewer remains silent for a minute then says "OK, you're hired, you will come to work at noon every day and leave at 4 PM".
      Applicant protests: "Look, I know work starts at 8 AM and I don't want to be advantaged because I'm invalid".
      Interviewer says "No, it's nothing like that. See, we come to work at 8 AM, and have our coffee until 10 AM and then we scratch our balls until noon. So there's nothing that you CAN do until noon, no point in coming in at 8 AM."

      --
      ...gis sdrawkcab (usually not responding to ACs; don't bother posting as AC)
    24. Re: Not-so-accurate source by RaceProUK · · Score: 2

      Are you aware that they impose a mandatory license fee for all households that actively receive the BBC's broadcasts as-live?

      If you don't own a TV (or TV tuner card), and only watch BBC shows on iPlayer (but not as-live), then your license fee obligations are the square root of fuck all.

      --
      No colour or religion ever stopped the bullet from a gun
    25. Re: Not-so-accurate source by garyok · · Score: 3, Funny

      My mistake - GP is right. Just as long as he never, ever accidentally clicks on the Listen Live button he'll be fine. But if he does it, even once, then a ravening horde of TV Licencing inspectors will descend on his demise and commit inventive mayhem on him and his housemates. And he'll be liable for the licence fee.

      --
      One of the penalties for refusing to participate in politics is that you end up being governed by your inferiors - Plato
    26. Re: Not-so-accurate source by happy+monday · · Score: 4, Informative

      That's not enough you have to own nothing capable of receiving tv signal and thanks to tv channel repeater sites that includes a computer.

      Nonsense, I don't have a TV licence, but I do have a computer. The ONLY stipulation is that you don't watch programmes as they are being broadcast. You are still allowed to watch them later on iPlayer without having a licence.

      Reference

    27. Re: Not-so-accurate source by cgt · · Score: 5, Insightful

      If you own a window, you hereby agree to receiving my brick through it. Of course, this wonderful service is voluntary, so if you do not want to receive my brick through your window, simply remove any windows from your property.

    28. Re: Not-so-accurate source by squiggleslash · · Score: 4, Insightful

      No, no they wouldn't. It's a payment for a service. You can refuse to pay, in which case you don't have any right to the service.

      Insofar as there's a problem with it, it's that the laws enforcing it kinda presume that if you don't want the service then you don't want related services that are provided by the same means as the BBC but not the same funding (ie transmitted as standard unencrypted TV signals.) You can have all or nothing.

      --
      You are not alone. This is not normal. None of this is normal.
    29. Re: Not-so-accurate source by sentientbeing · · Score: 3, Insightful

      You can avoid car tax buy not having a car. Its still a tax.

      --

      ------
      beware he who would deny you access to information, for in his mind he dreams himself your master
    30. Re:Not-so-accurate source by Half-pint+HAL · · Score: 3, Insightful

      I didn't talk about "a constitution", though, did I? The lack of a so-titled single document doesn't mean that there is no notion of "constitutional law" in the UK. Possibly the most important documents in UK constitutional law are the acts of union, which define this term "constituent country".

      You might as well claim that I'm not from the UK on the grounds that I'm not writing in Welsh, the only language in the UK that has any official recognition in law....

      --
      Got them moderator blues I blieve I walk out the do', With these mod-points I been gettin', I 'most never post no mo'
    31. Re:Not-so-accurate source by Marillion · · Score: 2

      BBC World Service presenters announce time in GMT. As a resident of Eastern North America, the time announced is always five hours ahead of my local time in Winter and four hours ahead in Summer. It's quite clear that the BBC World Service definition of GMT does not observe British Summer Time.

      --
      This is a boring sig
    32. Re: Not-so-accurate source by isorox · · Score: 3, Informative

      They will try to strong arm you... However, as long as your TV set is not logically set up to view television (not close to a socket or with a cable simply disconnected and laying there for the sake of the visit). You do NOT need to pay a penny!

      Technically they have to prove you were using the set to watch TV in a court. As a civil case that's a balance of probabilities rather than beyond-all-doubt.

      Basically, if you use it to watch TV (Even if you "only watch sky"), you should buy a license. If you don't you've got my full support against the bully-boy tactics of capita. I despise the few that try to evade paying the license. Just like the tax it really is, avoid it all you want by not using a TV, but don't evade paying it on some technicality.

      P.S. In case anyone wonders, sky benefit a lot from the license fee as they poach staff from the bbc, who train a hell of a lot more, and their viewers benefit form the competition, just like a iphone user benefits from android competition

      I shudder to think what British TV would be like if it degenerated to the crap that's in America. It's not the content that's bad in the U.S. It's the presentation. The adverts on sky would get far more obnoxious without the BBC.

      (disclaimer, I work for the BBC -- not in online though -- views my own etc)

    33. Re:Not-so-accurate source by booch · · Score: 2

      I get tired of the "experts" here coming up with what they think is the obvious solution - different to everyone else's and mostly just made up BS.

      Please Slashdot, if you don't know what the fuck you're talking about, STFU!

      How fucking hard is it really to have accurate time displayed on a webpage ?

      I haven't tried it myself, I don't claim to have the ultimate solution, but it does appear to be a no-brainer.

      Um, WTF? Did you even read what you wrote?

      It turns out it is actually difficult to get time zones right, especially when you need to coordinate between web clients and servers. I know -- I've done it. The amount of time we spent debugging it (after we thought several times that we had everything figured out) was ridiculous.

      --
      Software sucks. Open Source sucks less.
    34. Re:Not-so-accurate source by Minwee · · Score: 2

      CO-ordinated UNiversal Time

      ONE! One hour! Ah-ah-ah! *lightning*

      TWO! Two hours! Ah-ah-ah!

      Just saying.

  2. They are waiting by sidevans · · Score: 5, Funny

    For a new Time Lord!

    --
    I'm not signing anything
  3. 100 days? by ArsenneLupin · · Score: 4, Interesting
    Counting all the administrative overhead, the "testing", etc., this may well seem plausible.

    It took one large Luxembourgish bank nine months to change SUPPORTED_OS = MAC into SUPPORTED_OS = Linux32 in a configuration file in a jar named LuxTrust_Gemalto_CryptoTI_Adapter_LIN32_1.4.jar (yes, they did indeed accidentally put the Mac config file into the Linux jar... it's that stupid...)

    Another bank is celebrating the first year anniversary of this same bug right now as we speak :-) (unfixed yet, of course)

    Reason for the slowness (in both cases): when fixing such a mixup, according to their procedures, the entire test suite (... which incidentally, didn't catch this bug in the first place...) needs to be re-run, and this takes weeks, and so they shy away from the expense.

    So we end up in the paradoxical situation where the presence doesn't reduce the number of bugs seen in production, but actually increases it. Rather than catching bugs early, the test suite instead perpetuates existing bugs...

  4. BBC cannot win by NeeNahNye · · Score: 5, Insightful

    The situation is crazy and I have every sympathy with the Beeb. The clock design itself is very nostalgic for those of us of a certain age who have grown up with the BBC. They naturally created a simple clock that reflects the user's local time. A handful of morons who cannot set their computer's clock properly complained that the BBC's clock was inaccurate. The BBC cannot be expected to implement a global solution which cannot rely on the local host having any accurate time information and takes into account time zones, geographical location etc even if the issue of running an accurate server-synchronised clock is trivial. Also note that everything they do is heavily scrutinised by rabid right-wing politicians and licence-fee payers. My only gripe with the Beeb is that that it's acquiesced to these stupid complaints and withdrawn the clock rather than telling the complainants where to go.

    1. Re:BBC cannot win by Splab · · Score: 3, Insightful

      Really?

      Do tell how they do that - getting the server clock is trivial, making sure your JS is keeping time accurate between requests is pretty much impossible.

      Figuring out what time to show is bloody hard, especially since the people complaining are those who in the first go didn't manage to set up their computer correctly.

      Oh, and a script pulling the time at intervals from some server(s) is going to be expensive; remember the massive amount of users and data the beeb handles.

      I think they did the right thing.

    2. Re:BBC cannot win by BenJury · · Score: 2

      This is no better solution to what they had, which I guess you know because you posted as AC. The whole problem arose from some peoples local clocks being wrong, so using them in any way will result in the same issue.

      --
      Blatant Advert: Android Apps!
    3. Re:BBC cannot win by AmiMoJo · · Score: 2

      Look at it from a non-technical person's perspective. The BBC has been known for providing accurate time since it's early days when the radio first started playing the famous pips. The Radio 4 news starts with the Big Ben chimes marking 6 PM.

      In recently years the accuracy has decreased thanks to digital transmissions being slightly delayed, but it is still within a second or two and the metadata sent with the audio/video stream provides an accurate clock.

      Imagine a non-technical person looks at the BBC web site and sees their famous clock. It shows exactly the same time as their computer clock, and if their computer matches the BBC it must be correct, right?

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  5. Requirements, requirements, requirements. by locofungus · · Score: 4, Insightful

    Gaaaaaaaahhhhhhhhh. I thought this was a website that was supposed to be populated with technical, computer literate people, even programmers.

    The end user requirement: "Show the time"

    They mean "Show the correct time for my current location"

    This is easy: Every (ok, perhaps there's someone still using an old IBM PC computer where you have to set the clock at boot) browser is running on a machine that has a local clock. So we'll use it to display the time.

    Some end users then start complaining that the time on the BBC website is wrong.

    There's two obvious reasons for this: 1. The user has taken the iphone/ipad whatever on holiday and haven't updated the timezone or 2. Their local clock is just plain wrong.

    OK. So we've now established that the end user is incapable of correctly determining and setting the correct time and timezone on their machine. So we, as a programmer, have to do this for them. Cookies, asking the user, etc obviously aren't going to work. If they cannot get their own clock right then they're not going to get the website configuration right either.

    This is hard, hard, hard to solve. IMO it's impossible - what do you do about people coming through proxies in different timezones?

    The BBC have made exactly the right decision - the old solution was the correct one. PEBKAC. TPTB have decided that the correct solution wasn't good enough. So don't waste any more time or money trying to hack together something just to satisfy end user requirements that are fundamentally broken. End users can use the clock on their machine anyway and they won't complain to the BBC if it's wrong (presumably they complain to Microsoft instead)

    Tim.

    --
    God said, "div D = rho, div B = 0, curl E = -@B/@t, curl H = J + @D/@t," and there was light.
  6. 100 days by ssam · · Score: 3, Funny

    100 person days have been spent reading and commenting on the ./ article. (101 now)

    1. Re:100 days by ssam · · Score: 5, Funny

      I assume it took me about a day to write that comment. its hard to tell without a clock on this web page.

  7. Re:LMGTFY by Big+Hairy+Ian · · Score: 4, Insightful

    Wow what a nothing issue. It's not accurate because it's tied to the machine I view it from??? Then it's the fault of the end user. The BBC have taken the correct approach to this issue they've decided we're too stupid to have a clock!! The scary thing is I suspect that in general they are correct.

    --

    Build a Man a Fire, and He'll Be Warm for a Day. Set a Man on Fire, and He'll Be Warm for the Rest of His Life.

  8. BBC broadcast services and timezones by evilandi · · Score: 4, Informative

    The BBC domestic services only use GMT/BST (Greenwich Mean Time in winter, British Summer Time in summer). One time zone. Although they can be received in other countries in other timezones - for example BBC1 and BBC2 domestic TV channels are provided on cable in the Netherlands - no reference is made to those other timezones.

    The BBC's overseas services primarily use GMT but are broadcast regionally (e.g. "Middle East", "West Africa") where they may optionally mention secondary timezones on-air. For example, the BBC World Service's South Asia radio broadcasts may say "It's eleven hours GMT, fifteen-thirty hours in Delhi."

    The BBC has no European radio service any more. European relays of the BBC World Service, including the relay on Digital Audio Broadcasting (DAB) radio inside the UK, use the African stream. This primarily uses GMT but occasionally additionally references a secondary timezone in a major African city such as Johannesburg or Lagos. There is a specific African breakfast news programme on the BBC World Service's African stream, presented jointly from London and Johannesburg, tailored around the morning hours across several African timezones.

    Live presenters on the BBC World Service may also announce the time as simply "minutes past the hour" without referencing which hour they're referring to, for example "It's twenty minutes past the hour". These are particularly prevalent for African streams. These "minutes past" timechecks are avoided in regions with timezones that are offset by 30 minutes, such as India.

    BBC overseas TV timezones fit into two categories; regional and worldwide. Worldwide services such as the BBC World news channel or BBC Entertainment do not usually reference the time as spoken word, but instead represent the time using on-screen graphics. The graphics will show GMT plus a selection of 3-5 timezones appropriate to the region the stream is broadcast to. For example, the European stream of BBC World will use GMT, Central European time and Moscow time. These are typically shown as full-screen text announcements for future programming (e.g. "Hard Talk, Mon-Fri at 08:30 GMT, 10:30 CEST, 12:30 Moscow" for the European stream). Where programming is shared between regions, they may either use opt-outs for regional time displays or use a more general subset of timezones (e.g. GMT, EST, India; very rarely, GMT is omitted in favour of CET).

    Regional overseas TV services such as BBC America or BBC Arabic will use whatever timezones that region uses and will cope with it just like local domestic services. They will not generally use GMT.

    --
    Andrew Oakley - www.aoakley.com
  9. Re:LMGTFY by Spudley · · Score: 3, Insightful

    Wow what a nothing issue. It's not accurate because it's tied to the machine I view it from??? Then it's the fault of the end user. The BBC have taken the correct approach to this issue they've decided we're too stupid to have a clock!! The scary thing is I suspect that in general they are correct.

    The point is that they've done this in response to formal complaints... which means that yes, in some cases the users *are* too stupid to have a clock, and not only that, those same stupid people are willing to kick up a fuss about it and raise complaints.

    --
    (Spudley Strikes Again!)
  10. Re:User's time, not BBC time by stderr_dk · · Score: 2

    What the BBC said was that they would find it difficult and expensive to accurately show the time at the user's location, when the user's time settings were wrong.

    This is roughly how I would do it:

    • Make sure the server is running NTP or something similar, so the server time is correct.
    • When the page is requested, include the current server time: <span id="clock">Thu Jun 6 11:29:04 BST 2013</span>.
    • If JavaScript is off, we can't update the time and all we can do is display that static time.
    • If JavaScript is on, we:
      • Find the HTML-element: var clock=document.getElementById("clock");
      • Get the current local time as milliseconds since Epoch: var local_time_1=new Date().valueOf();
      • Use AJAX to get the current server time as milliseconds since Epoch, server_time.
      • Get the current local time as milliseconds since Epoch, local_time_2.
      • Assuming that the delay from the client to the server is the same as the delay from the server to the client, calculate the difference between server time (correct time) and local time: var time_diff=server_time - (local_time_1+local_time_2)/2;
      • Every second, minute, whatever...
        • Get the current local time as milliseconds since Epoch, local_time.
        • Calculate the assumed server time: var assumed_time=local_time + time_diff;
        • Update the HTML-element to display the assumed_time in some "pretty" format.
        • If you don't want to display the time in either UTC or "whatever timezone the user has configured", use something like (shameless plug) tzdata-javascript to convert it "Europe/London".
      • Maybe recalculate time_diff every hour to avoid time drifting. I highly doubt this is needed.

    Wouldn't that work?

    --
    alias sudo="echo make it yourself #" ; # https://pipedot.org/~stderr & http://soylentnews.org/~stderr
  11. Re:Simple solution by black3d · · Score: 4, Insightful

    You misunderstand the issue. The site WAS pulling the time from the local computer. People were complaining because the BBC site then showed the time wrong if their local clock was wrong. As it's impossible to accurately geolocate everyone (proxies, missing geo-ip info, NAT, etc) they were left with limited choices - 1) keep getting the complaints, 2) offer a variety of clocks or a dropdown list to choose your timezone (because, people who can't set their clock are going to know their timezone?), 3) offer a clock set to GMT only (against, most people don't know their own timezone so this would be fairly useless) or 4) pull the clock.

    The BBC decided the best course of action was to pull the clock and then the petty, stupid complaints about it would stop. Now they're going to start getting the complaints about "I always go to the BBC website to find out what the time on my computer is, but you've removed the clock.."

    --
    "The true measure of a person is how they act when they know they won't get caught." - DSRilk
  12. Re:LMGTFY by bWareiWare.co.uk · · Score: 4, Insightful

    Given that the vast majority of computers already display their time on the screen; it is reasonable to assume the only the purpose of an additional clock on the BBC website is to validate its accuracy.
    n.b. a large proportion of the population grew up setting their watches to the BBC's pips, it is also natural to consider them an authority on the subject.

  13. Re:LMGTFY by Bengie · · Score: 2

    And it may actually take a 100 days if you actually have to bother with testing it in all sort of scenarios, time zones, browsers en daylight savings time etc.

    Send UTC and let the browser format and adjust to the local. VERY easy, almost no testing.

  14. Comment removed by account_deleted · · Score: 4, Informative

    Comment removed based on user account deletion

  15. Re:LMGTFY by Russ1642 · · Score: 2

    They're supporting IE 5.5? Well, there's your problem.