<commit_before><% provide(:title, @station.name) %>
<% provide(:description, "Real-time train information for UK train stations.") %>
<% provide(:attribution, "Powered by TfL Open Data") %>

<div class="container">
	<h1><%= @station %></h1>

<%= render 'navigation' %>
	<h3>Underground Departure Board</h3>
	
<% @tube_board.nrcc_messages.each do |message| %>
	<div class="alert alert-warning" role="alert">
		<%= icon('info-sign') %>
		<%= message %>
	</div>
<% end %>

	<div class="list-group">
	<% @tube_board.train_services.each do |service_item| %>
		<a href="<%= service_item.url %>" class="list-group-item">
			<div class="row">
	    		<div class="col-xs-10">
					<h4 class="list-group-item-heading"><%= service_item.std %> <%= service_item.destination %></h4>
					<p class="list-group-item-text text-<%= service_item.css %>"><%= service_item.etd %></p>					
					<p class="list-group-item-text">
						<span class="label" style="<%= service_item.line.style %>"><%= service_item.line %></span>
						<%= service_item.operator %>
					</p>
				</div>
				<div class="col-xs-2 text-right">
					<h3><%= service_item.platform %></h3>	
				</div>
			</div>
		</a>
	<% end %>
	</div>

</div><commit_msg>add readable time formats for tube<commit_after><% provide(:title, @station.name) %>
<% provide(:description, "Real-time train information for UK train stations.") %>
<% provide(:attribution, "Powered by TfL Open Data") %>

<div class="container">
	<h1><%= @station %></h1>

<%= render 'navigation' %>
	<h3>Underground Departure Board</h3>
	
<% @tube_board.nrcc_messages.each do |message| %>
	<div class="alert alert-warning" role="alert">
		<%= icon('info-sign') %>
		<%= message %>
	</div>
<% end %>

	<div class="list-group">
	<% @tube_board.train_services.each do |service_item| %>
		<a href="<%= service_item.url %>" class="list-group-item">
			<div class="row">
	    		<div class="col-xs-10">
					<h4 class="list-group-item-heading">
						<%= service_item.std.strftime('%H:%M') if service_item.std %> <%= service_item.destination %>
					</h4>
					<p class="list-group-item-text text-<%= service_item.css %>">
						<%= service_item.etd.strftime('%H:%M') if service_item.etd %>
					</p>
					<p class="list-group-item-text">
						<span class="label" style="<%= service_item.line.style %>"><%= service_item.line %></span>
						<%= service_item.operator %>
					</p>
				</div>
				<div class="col-xs-2 text-right">
					<h3><%= service_item.platform %></h3>	
				</div>
			</div>
		</a>
	<% end %>
	</div>

</div>
{'fraction_non_alphanumeric': 0.22450592885375495, 'fraction_numerical': 0.008695652173913044, 'mean_word_length': 3.713221601489758, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1533929', 'n_tokens_mistral': 1116, 'n_tokens_neox': 912, 'n_words': 178}