Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 10:15 27 Apr 2024
- TUV distances itself from migrant drowning remarks
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 22/05/24 - WWRUG / TransWilts update
02/06/24 - Summer Timetable starts
17/08/24 - Bus to Imber
27/09/25 - 200 years of passenger trains

No 'On This Day' events reported for 27th Apr

Train RunningCancelled
10:24 Bristol Parkway to London Paddington
27/04/24 12:01 Severn Beach to Bristol Temple Meads
27/04/24 13:51 Worcester Foregate Street to Bristol Temple Meads
Short Run
27/04/24 06:55 Cheltenham Spa to Weymouth
07:33 Weymouth to Gloucester
07:33 Exeter St Davids to London Paddington
08:51 Penzance to Cardiff Central
27/04/24 10:10 Weston-Super-Mare to Severn Beach
27/04/24 11:38 Bristol Temple Meads to Worcester Foregate Street
12:02 Westbury to Gloucester
27/04/24 12:49 Worcester Foregate Street to Bristol Temple Meads
14:02 Westbury to Gloucester
14:10 Gloucester to Frome
27/04/24 14:38 Bristol Temple Meads to Worcester Foregate Street
14:59 Cardiff Central to Penzance
27/04/24 15:38 Bristol Temple Meads to Worcester Foregate Street
17:43 Bristol Temple Meads to Salisbury
18:12 Salisbury to Cheltenham Spa
18:23 Portsmouth Harbour to Cardiff Central
19:13 Salisbury to Worcester Shrub Hill
Delayed
07:52 London Paddington to Great Malvern
14:30 Cardiff Central to Portsmouth Harbour
PollsThere are no open or recent polls
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
April 27, 2024, 10:23:08 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[97] Labour to nationalise railways within five years of coming to ...
[50] access for all at Devon stations report
[32] Who we are - the people behind firstgreatwestern.info
[11] Bonaparte's at Bristol Temple Meads
[2] Lack of rolling stock due to attacks on shipping in the Red Se...
[1] Cornish delays
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Pages: [1] 2
  Print  
Author Topic: Coffee Shop time format  (Read 900 times)
grahame
Administrator
Hero Member
*****
Posts: 40835



View Profile WWW Email
« on: February 01, 2024, 20:38:10 »

I regret to say that I do find the time used on this very website somewhat annoying - at the moment it tells me that the time is 07:59 pm.....................no it isn't !

The format we use is "%B %d, %Y, %I:%M:%S %p" where, I think, the letters come from the https://www.php.net/manual/en/datetime.format.php page.   Please feel free to suggest changes - they do need to be made across the whole user base, so if I see lots of different ideas from different people, I'll need to arrange a vote or something.

Edit - format is at https://www.programiz.com/python-programming/datetime/strftime rather than the one quoted above.
« Last Edit: February 01, 2024, 21:57:06 by grahame » Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
ChrisB
Transport Scholar
Hero Member
******
Posts: 12365


View Profile Email
« Reply #1 on: February 01, 2024, 20:57:15 »

I'd vote for the 24 hour clock
Logged
PhilWakely
Transport Scholar
Hero Member
******
Posts: 2018



View Profile
« Reply #2 on: February 01, 2024, 21:11:11 »

I'd vote for the 24 hour clock

agreed


« Last Edit: February 01, 2024, 22:39:34 by PhilWakely » Logged
Red Squirrel
Administrator
Hero Member
*****
Posts: 5219


There are some who call me... Tim


View Profile
« Reply #3 on: February 01, 2024, 23:52:12 »

So would I! And just to make a nerdish point, the time separator in the UK (United Kingdom) is traditionally a full stop rather than a colon, so 23.47 rather than 23:47…
Logged

Things take longer to happen than you think they will, and then they happen faster than you thought they could.
PrestburyRoad
Sr. Member
****
Posts: 195


View Profile
« Reply #4 on: February 02, 2024, 05:34:45 »

Quote
... And just to make a nerdish point, the time separator in the UK (United Kingdom) is traditionally a full stop rather than a colon, so 23.47 rather than 23:47…

That's fine when you're writing just hours and minutes.  When you also include seconds I think you need to use colon throughout, to avoid something that looks like a misformatted decimal number with two decimal points.
Logged
broadgage
Transport Scholar
Hero Member
******
Posts: 5410



View Profile
« Reply #5 on: February 02, 2024, 07:04:17 »

I also would vote for the 24 hour clock, as used in the great majority of public transport facilities.
Logged

A proper intercity train has a minimum of 8 coaches, gangwayed throughout, with first at one end, and a full sized buffet car between first and standard.
It has space for cycles, surfboards,luggage etc.
A 5 car DMU (Diesel Multiple Unit) is not a proper inter-city train. The 5+5 and 9 car DMUs are almost as bad.
broadgage
Transport Scholar
Hero Member
******
Posts: 5410



View Profile
« Reply #6 on: February 02, 2024, 07:10:58 »

So would I! And just to make a nerdish point, the time separator in the UK (United Kingdom) is traditionally a full stop rather than a colon, so 23.47 rather than 23:47…

Yes, but the old digital clocks widely used on "network southeast" stations used a semi colon I think. The clocks with an electro mechanical display of dayglow yellow figures against a dark background. Large stations often had several such clocks, each showing a slightly different time.
Logged

A proper intercity train has a minimum of 8 coaches, gangwayed throughout, with first at one end, and a full sized buffet car between first and standard.
It has space for cycles, surfboards,luggage etc.
A 5 car DMU (Diesel Multiple Unit) is not a proper inter-city train. The 5+5 and 9 car DMUs are almost as bad.
grahame
Administrator
Hero Member
*****
Posts: 40835



View Profile WWW Email
« Reply #7 on: February 02, 2024, 08:01:56 »

Change made - with "am" or "pm" removed, leaving ":" between each item; I have read carefully but not gone for a full stop or semicolon in there.  There may be one or two places where the old format is hard coded and if I spot any over coming days I will change those too.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
froome
Transport Scholar
Hero Member
******
Posts: 913


View Profile Email
« Reply #8 on: February 02, 2024, 09:57:51 »

But are we on Greenwich Mean Time or Melksham local time?   Grin
Logged
stuving
Transport Scholar
Hero Member
******
Posts: 7170


View Profile
« Reply #9 on: February 02, 2024, 10:03:37 »

Quote
... And just to make a nerdish point, the time separator in the UK (United Kingdom) is traditionally a full stop rather than a colon, so 23.47 rather than 23:47…

That's fine when you're writing just hours and minutes.  When you also include seconds I think you need to use colon throughout, to avoid something that looks like a misformatted decimal number with two decimal points.

Surely it's more of a problem with one stop and no colons, making a valid decimal number as an alternative interpretation. Writing a time as hours and decimal hours may be very unusual, but it helps (for people as well as programs) to keep to he same presentation for all times and time intervals, and decimal seconds are quite common. And you sometime need both - though perhaps not for trains, where a time given as 11:23:47.93 would invite jeers.
Logged
grahame
Administrator
Hero Member
*****
Posts: 40835



View Profile WWW Email
« Reply #10 on: February 02, 2024, 10:13:01 »

But are we on Greenwich Mean Time or Melksham local time?   Grin

Ah ... no changes made there.   The forum is showing zero offset by default at present from GMT and I will remind myself when the clocks go forward what it does - I think it switches automatically to British Summer Time.  Individual users can set their profile to override that - for example members in France and Sweden can show their local time.

I am not going to add any text for timezone onto the times stated.  And Melksham Local Time (as on the Town Hall Clock) is not internet connected - it's roughly the same as British Standard time but slips a bit because the clock runs slightly slow and is occasionally adjusted by a chap or chapess going up into the rafters.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
didcotdean
Transport Scholar
Hero Member
******
Posts: 1424


View Profile
« Reply #11 on: February 02, 2024, 11:04:57 »

So would I! And just to make a nerdish point, the time separator in the UK (United Kingdom) is traditionally a full stop rather than a colon, so 23.47 rather than 23:47…
And on the 12 hour clock five past seven traditionally would be 7.5 rather than 7.05 but I can't remember the last time I saw that.
Logged
ellendune
Transport Scholar
Hero Member
******
Posts: 4452


View Profile
« Reply #12 on: February 02, 2024, 11:47:44 »

So would I! And just to make a nerdish point, the time separator in the UK (United Kingdom) is traditionally a full stop rather than a colon, so 23.47 rather than 23:47…
And on the 12 hour clock five past seven traditionally would be 7.5 rather than 7.05 but I can't remember the last time I saw that.

Yes but those of us who have worked on standards for the last 30 years have a colon separator engrained in us as that is the ISO standard which is also adopted by BSI (British Standards Institute) as a British Standard.

So my nerdishness would grate at the use of a full stop!
Logged
broadgage
Transport Scholar
Hero Member
******
Posts: 5410



View Profile
« Reply #13 on: February 02, 2024, 12:57:12 »

But are we on Greenwich Mean Time or Melksham local time?   Grin

Or even Swindon time ! ISTR (I seem to recall/remember) that "railway time" was once as told by the station clock at Swindon, GMT came later.
At the Bristol corn exchange there is still a clock with TWO minute hands, one for Bristol time and the other for London time/GMT.
Logged

A proper intercity train has a minimum of 8 coaches, gangwayed throughout, with first at one end, and a full sized buffet car between first and standard.
It has space for cycles, surfboards,luggage etc.
A 5 car DMU (Diesel Multiple Unit) is not a proper inter-city train. The 5+5 and 9 car DMUs are almost as bad.
Clan Line
Hero Member
*****
Posts: 863



View Profile
« Reply #14 on: February 02, 2024, 14:34:10 »

24 hr clock - with colon please.  Don't bother with the Leap Second !
Logged
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page