The Wayback Machine - https://web.archive.org/web/20200713025911/https://github.com/topics/date-formatting
Skip to content
#

date-formatting

Here are 132 public repositories matching this topic...

tasasei
tasasei commented Dec 27, 2019

Describe the bug
In IE, when the dayjs object is generated by Date object, the formatted string of milli seconds show '000' always.
Please see this JSFiddle.
(https://jsfiddle.net/7jrdo1bz/)

It seems be correct behavior when dayjs object is generated by unix milliseconds.
(like: dayjs(1575441029123))

Expected behavior
Show correct milli seconds.

Information

  • Day.js Ver
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

mikeweilgart
mikeweilgart commented Aug 13, 2018
dateutils.dseq 2018-03-05 2018-05-15 -f '%F %a %c %u' | dateutils.dgrep '%c=04'

Expected output:

2018-03-22 Thu 04 04
2018-03-23 Fri 04 05
2018-03-24 Sat 04 06
2018-03-25 Sun 04 07
2018-03-26 Mon 04 01
2018-03-27 Tue 04 02
2018-03-28 Wed 04 03
2018-04-22 Sun 04 07
2018-04-23 Mon 04 01
2018-04-24 Tue 04 02
2018-04-25 Wed 04 03
2018-04-26 Thu 04 04
2018-04-27 Fri 04 05
20
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-formatting 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-formatting topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.