Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 22:55 15 Jun 2025
 
- UK advises against all travel to Israel
- HS2 reports subcontractor over alleged fraud
- Man hurt after vehicle falls from airport car park
- Seven people killed in India helicopter crash
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 18/06/25 - Rail Live 2025
21/06/25 - BRC to Lydney
24/06/25 - GWR Community Rail Conf
26/06/25 - TWNW conference

On this day
15th Jun (2018)
GWR Community Rail conference at Swindon (link)

Train RunningCancelled
21:45 London Paddington to Bristol Parkway
21:54 Worcester Shrub Hill to Bristol Temple Meads
Short Run
20:25 Penzance to Exeter St Davids
21:55 Bristol Parkway to London Paddington
23:00 London Paddington to Bristol Temple Meads
Delayed
20:16 Plymouth to London Paddington
21:50 London Paddington to Worcester Shrub Hill
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
June 15, 2025, 23:00:50 *
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
[136] Gone to the dogs? A look at greyhound racing's future - June 2...
[106] Where was Finn today, 15th June 2025.
[102] Looe Branch Line - timetables, cancellations, engineering work...
[69] Weymouth - Westbury cancellations, 14 and 15 June 2025
[38] Bus Service 205
[34] HS2 - Government proposals, alternative routes and general dis...
 
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 4635 times)
grahame
Administrator
Hero Member
*****
Posts: 44248



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, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
ChrisB
Transport Scholar
Hero Member
******
Posts: 13410


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: 2180



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: 5528


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
Transport Scholar
Sr. Member
******
Posts: 248


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: 5699



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: 5699



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: 44248



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, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
froome
Transport Scholar
Hero Member
******
Posts: 1011


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: 7451


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: 44248



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, Chair of Melksham Rail User Group, TravelWatch SouthWest Board Member
didcotdean
Transport Scholar
Hero Member
******
Posts: 1454


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: 4525


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: 5699



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: 1001



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 via admin@railcustomer.info. Full legal statement (here).

Jump to top of pageJump to Forum Home Page