home.social

#localtime — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #localtime, aggregated by home.social.

  1. Mehr Zeit mit FreshMarker

    Einer der Gründe für die Entwicklung der FreshMarker Bibliothek, war die fehlende Unterstützung der Java Time API in FreeMarker. Daher existierte schon in der ersten Implementierung neben der Unterstützung für java.util.Date, java.sql.Date und java.sql.Time auch eine Unterstützung f

    schegge.de/2023/05/mehr-zeit-m

    #BestPractices #Bibliotheken #Java #Format #FreeMarker #FreshMarker #Java #LocalDate #LocalTime #Template #Template-Engine

  2. In the early hours of Sunday morning New Zealsnd came off 'Daylight Saving Time' and reverted to 'Standard Time' which is itself about half an hour ahead of local solar time.

    The image is a screenshot showing the position of the Sun at 12 noon NZST.

    My hens don't pay any attention to Standard Time but go to roost almost right on sunset, year-round.

    keydifferences.com/difference-

    #daylightsavings #localtime #standardtime

  3. This must be the stupidest API ever.

    How to convert from #java #sql #Date to java.util.Instant with #time and #zone.

    Just getting the date from #MSSqlServer omits the time. So we have to read that separately, convert sql date and time to #LocalDate and #LocalTime, and then create an intermediary #CalendarBuilder to collect each #ChronoUnit, and then convert the result to milliseconds since #epoch.

    Ugh.