Very curious, why is "3:04 PM" named Kitchen in the time package?

671 views
Skip to first unread message

fliter

unread,
Sep 23, 2022, 5:21:43 AM9/23/22
to golang-nuts
Is it because it is time to go to the kitchen to cook? It seems that 3:04 PM is too early

Tobias Klausmann

unread,
Sep 23, 2022, 5:30:12 AM9/23/22
to golan...@googlegroups.com
Hi!

On Fri, 23 Sep 2022, fliter wrote:
> Is it because it is time to go to the kitchen to cook? It seems that 3:04
> PM is too early

My best guess: it's the most common way kitchen timers that also are
clocks display the time. It's not the specific time that is
"kitchen"-likem, but rather the format. Ditto for the clocks you often
find on ovens and microwaves: their displays usually are in the format
(in the US, Europeans usually have 24h time).

Best,
Tobias
--
Sent from aboard the Culture ship
GCU Credibility Problem

Axel Wagner

unread,
Sep 23, 2022, 5:35:35 AM9/23/22
to fliter, golang-nuts
It's not the time, it's the time format. Formatting in the time package happens according to how the reference time is displayed:

Layout = "01/02 03:04:05PM '06 -0700" // The reference time, in numerical order.

1234567. With PM chosen to distinguish between a 3 (meaning 12h clock hour) and 15 (meaning 24h clock hour).

And yes, Tobias is correct that "Kitchen" refers to "what the clock on your microwave or oven may show" - as long as you live in a 12h clock country, at least. So "3:04 PM".

On Fri, Sep 23, 2022 at 11:22 AM fliter <imc...@gmail.com> wrote:
Is it because it is time to go to the kitchen to cook? It seems that 3:04 PM is too early

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/92bd089d-ad71-4f1f-a3d3-552edfc15a5an%40googlegroups.com.

fliter

unread,
Sep 24, 2022, 7:36:15 AM9/24/22
to golang-nuts
Thanks for your answer

fliter

unread,
Sep 24, 2022, 7:36:27 AM9/24/22
to golang-nuts
Thanks for your answer

Gregg Townsend

unread,
Sep 24, 2022, 10:36:03 PM9/24/22
to golang-nuts
From the standpoint of my house it should have been called "Nightstand" where the clocks show AM/PM.  In my kitchen both the stove and the microwave are just 12-hour clocks with no AM/PM setting nor indicator.
Reply all
Reply to author
Forward
0 new messages