comp.lang.ada
 help / color / mirror / Atom feed
From: Marius Amado-Alves <amado.alves@gmail.com>
Subject: Ada.Calendar.Formatting.Image (or Time_Of) changing the time
Date: Mon, 2 Mar 2020 10:49:52 -0800 (PST)
Date: 2020-03-02T10:49:52-08:00	[thread overview]
Message-ID: <e92d8c8d-a182-4990-b3f6-33c2ab90bce9@googlegroups.com> (raw)

Feeding Ada.Calendar.Formatting.Image with an Ada.Calendar.Time_Of the year, month, day, seconds on the left, we get the image on the right. Some images, marked *, are 1 hour behind.

2015 1 21 32040 ( 8:54 AM) => 2015-01-21 08:54:00
2015 1 21 39240 (10:54 AM) => 2015-01-21 10:54:00
2015 7 21 32040 ( 8:54 AM) => 2015-07-21 07:54:00 *
2015 7 21 39240 (10:54 AM) => 2015-07-21 09:54:00 *

The different input is the month, January versus July, so it looks like a daylight savings thing. Is this expected behaviour? Thanks.

[Compiler = GNAT Community 2018 (20180523-73)]

             reply	other threads:[~2020-03-02 18:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 18:49 Marius Amado-Alves [this message]
2020-03-02 23:08 ` Ada.Calendar.Formatting.Image (or Time_Of) changing the time Randy Brukardt
2020-03-03 12:59   ` Marius Amado-Alves
2020-03-03 14:25     ` Dmitry A. Kazakov
2020-03-03 14:53 ` Simon Wright
2020-03-03 17:40   ` Simon Wright
2020-03-03 23:49   ` Randy Brukardt
2020-03-04 15:19     ` Simon Wright
2020-03-04 22:33     ` Optikos
2020-03-05 16:11       ` Optikos
2020-03-05 23:29       ` Randy Brukardt
2020-03-06 14:42         ` Optikos
2020-03-07  0:19           ` Randy Brukardt
2020-03-07  1:18             ` Optikos
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox