Questions tagged [dst]
DST is the tag for Daylight Saving Time issues. DST, also known as summer time, starts when a time zone shifts its clocks forward (in the spring), and ends when the clocks shift back (in the fall).
1,339
questions
0
votes
1
answer
44
views
DateTimeOffset Ticks is bugged or not? [closed]
I used a sorted list like that: SortedList<DateTimeOffset, Something>.
The data is well sorted according to the UTC date-time, which is expected.
But "Ticks" is bigger (for DST - for ...
0
votes
0
answers
52
views
Snowflake: how to convert wall clock time to UTC at fall daylight savings?
I have hourly data recorded in wall clock time in Chicago where 1am appears twice on the day when fall daylight savings occurs (which is expected - during fall daylight savings, a wall clock should ...
0
votes
2
answers
55
views
How Can I Make My Calendar Ignore DST Adjustments?
I’m trying to calculate the time by adding minutes to given date-time. It’s works well with other times but not for the DST times [ Canada Eastern time ].
public static GregorianCalendar addMinuts(...
1
vote
0
answers
63
views
Is there a way to ensure an XML DateTime prop is serialized to wintertime if the date is during wintertime?
An XmlSerializer keeps serializing datetime's to summertime(+2) instead of wintertime) if the XmlModel has a property with the XmlAttrib with "DateType=Time" configuration.
The date ...
5
votes
1
answer
93
views
Why can't I get the Timestamp of the date '1914-11-08 00:00:00' in timezone 'Europe/Amsterdam'?
Recently i upgraded my mysql-connector from 5.1.47 to 8.0.33. After that, i met an error:
Caused by: java.sql.SQLException: HOUR_OF_DAY: 0 -> 1
at com.mysql.cj.jdbc.exceptions.SQLError....
0
votes
0
answers
29
views
Python Daylight Savings Accomodation [duplicate]
Iam working on a django project. Im fairly new to it. I have a requirement to sent out email reports in which I need to convert datetimes into yours local timezone. Im saving records in utc time and I ...
2
votes
1
answer
54
views
How to get the epoch value for any given Local Time with Time Zone & Daylight Saving Time in Python?
I'm new to Python and I have a use case which deals with datetime. Unfortunately, the data is not in UTC, so I have to rely on Local Time, Time Zones & Daylight Savings. I tried with datetime &...
0
votes
0
answers
35
views
Chrome < 88 has issues recognizing DST with Day.js
My company is thinking about introducing day.js to handle DST. This works well on modern browsers, but on browsers older than Chrome 88 it will not work. I have this little app to test Day.js:
import {...
0
votes
1
answer
26
views
Ruby Rails Calendar DST Issue
I am having an issue with Rails code displaying calendar entries off an hour when viewing. The data is correct in the database so I'm sure I'm missing something for the code. I have tried numerous ...
0
votes
0
answers
38
views
After day light saving time switch - Apache FTP library "listFiles()" function returns null members even though files exist
In our team, we use the Apache FTPClient library to get files from a directory on some FTP server.
To be specific - we import into our project "org.apache.commons.net.ftp.*;
With the help of that ...
0
votes
2
answers
57
views
Date timezone changes when manipulating date, making date math incorrect
When I create a new date, when I try modifying it to e.g. get a date 30 days ago, the timezone the date is represented in changes when I print it out, and the math ends up incorrect because of it.
In ...
-1
votes
1
answer
47
views
Is there a way to get daylight savings time info for non local timezones [duplicate]
I would like to find the equivalent daylight savings time zone for a given standard time zone. Here's a code snippet:
protected DateTime ConvertTimeZoneFromUTC(DateTime dateTime) {
//dateTime is ...
0
votes
1
answer
137
views
Egypt time zone java and joda libraries updated before DST 2023 does that need an update for 2024 DST
We are having a system running on servers having EET time zone, In 2023 before DST changes in Egypt, Java (jre8) and Joda(2.12.5) libraries were updated and it worked fine with EEST time zone. this ...
3
votes
1
answer
113
views
Why are these two datetimes not equal?
from datetime import datetime, timedelta
from zoneinfo import ZoneInfo
chi = ZoneInfo("America/Chicago")
nyc = ZoneInfo("America/New_York")
dt1 = datetime(2024, 3, 10, 3, 30, ...
1
vote
1
answer
57
views
Handling Local Time in Python Worldwide
I am working on an application in which events occur at specific times. The event creator can create events in a time zone where daylight saving time might or might not be applicable. Therefore, the ...