Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
No recent travel & transport from BBC stories as at 12:55 08 Jan 2025
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 today - Steam loco restoration - IRTE
tomorrow - Bath Railway Society
24/01/25 - Westbury Station reopens
24/01/25 - LTP4 Wilts / Consultation end

On this day
8th Jan (1991)
Cannon Street buffer stop collision (link)

Train RunningCancelled
12:35 Didcot Parkway to Banbury
12:36 Liskeard to Looe
13:06 Looe to Liskeard
13:42 Banbury to Didcot Parkway
13:46 Liskeard to Looe
14:18 Looe to Liskeard
14:34 Didcot Parkway to Banbury
14:46 Liskeard to Looe
15:16 Looe to Liskeard
15:30 Banbury to Didcot Parkway
17:04 Didcot Parkway to Evesham
18:51 Evesham to Oxford
19:24 Reading to Gatwick Airport
Short Run
10:55 Paignton to London Paddington
12:05 London Paddington to Penzance
12:38 London Paddington to Didcot Parkway
16:07 London Paddington to Didcot Parkway
16:35 Didcot Parkway to Banbury
Delayed
10:20 Penzance to London Paddington
13:03 London Paddington to Plymouth
An additional train service has been planned to operate as shown 13:15 Frome to Penzance
16:58 London Paddington to Great Malvern
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
January 08, 2025, 13:09:37 *
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
[124] 'Railway 200' events and commemorations 2025
[100] senior railcard
[97] Coastal walks - station to station
[80] Views sought : how train companies give assistance to disabled...
[69] Oxford station - facilities, improvements, parking, incidents ...
[53] Rail Replacement bus - OK, but I prefer the train.
 
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 3688 times)
grahame
Administrator
Hero Member
*****
Posts: 43061



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


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



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


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


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



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



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



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


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


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



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


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


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



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



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