Skip to content
#

date-time

Here are 118 public repositories matching this topic...

justdan0227
justdan0227 commented Feb 20, 2020

The docs on
https://github.com/malcommac/SwiftDate/wiki/1.-Introduction:-Absolute-Date-and-DateInRegion
says

let dateFormat = "yyyy-MM-dd HH:mm"
let current_default = Date.defaultRegion
// Print date in current local device region
print(now.string(format: .custom(dateFormat))) // 2017-04-09 19:32
// Change the default region
Date.setDefaultRegion(regionNY)
// Print it again; now the

dektar
dektar commented Feb 15, 2017

Key information

  • Joda-Time version: 2.9.4

Problem description

Joda-Time does not use the localized decimal format separator for parsing and printing. Instead, the "." character is hard-coded in several places in PeriodFormatterBuilder.java.

Example: https://github.com/JodaOrg/joda-time/blob/43b17998800f9e4bf076d37cba9e1f63bf00e4e7/src/main/java/org/joda/time/format/PeriodFormatt

RFE
fuleky
fuleky commented Oct 27, 2019

For years before 1971, the round_date function produces an incorrect date for time 00:00:00 on new-year day. Once the time is nudged away from 00:00:00 on 01/01, the rounding seems to produce the correct result.

library(lubridate)
  as.numeric(1958-1/12) %>% date_decimal() %>% round_date(unit = "month") # produces "1958-12-01 UTC"
  as.numeric(1958) %>% date_decimal() %>% round_date(u
movermeyer
movermeyer commented Jun 28, 2018

When ciso8601 was first created, there were no reasonable alternatives to it. By virtue of being implemented in C, it was simply much faster than Python implementations.

However, time have moved on, and there are viable alternatives, so the choice is more nuanced.

For example, as of Python 3.7, there exists [datetime.fromisoformat](https://docs.python.org/3/library/datetime.html#datetime

datenheim
datenheim commented Jan 8, 2020

I got ezTime running on WiFi like a breeze. Today we where wondering if or how it can also
be used via GSM connection. It looks like it does ignore an already established GSM connection.

Setup: ESP32 + SIM800 module [aka TTGO T-CALL]

We have established GSM connection, logged in to the APN successfully, and transmit our data
all few seconds - all working.

But ezTime mongers about WiFi o

Improve this page

Add a description, image, and links to the date-time topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the date-time topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.