The Wayback Machine - https://web.archive.org/web/20200714075855/https://github.com/topics/datetime
Skip to content
#

datetime

Here are 730 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
mayordwells
mayordwells commented Apr 27, 2020

I'd like to contribute to the documentation by adding some of the available options which are not currently documented on the site.

An example of that is the minuteIncrement config that I had dive into the documentation to find it myself. I'm sure a few people might have had a need for this but never found it.

Which repo do I need to fork to be able to contribute this to the documentation?

wkeese
wkeese commented Apr 13, 2020

The doc on https://moment.github.io/luxon/docs/class/src/interval.js~Interval.html states that:

To convert the Interval into other representations, see toString, toISO, toISODate, toISOTime, toFormat, and toDuration.

However, the link to toFormat() goes to the DateTime documentation page (it took me a while to realize this), and that page says:

You may not want this. See toLocaleStr

adm271828
adm271828 commented Oct 5, 2019

Hi,

the shift() method is nice and seems to work with localized time with some kind of "natural" semantic. However it leads to some results (related to differences between time points).

>>> t0 = arrow.now().shift(weeks=3)    # The day before the next DST fall transition

>>> t0
<Arrow [2019-10-26T16:33:24.883042+02:00]>

>>> t1 = t0.shift(days=1)

>>> t1
<Arrow [2019-10-27T16
bug
xiebo22
xiebo22 commented May 16, 2019

问题描述

作者是个菜鸟,请详细地描述问题,不要一句话带过(特别是将描述放在标题上的),根据情况贴上代码

处理 issue 是件很耗精力的事,请提交 issue 前考虑一下是否把问题说清楚了

产生环境

  • **使用版本:-
  • **引入方式:CDN | NPM
  • **演示地址:-

提示错误信息

  1. Invalid prop: custom validator check failed for prop "startDate".
  2. Invalid prop: custom validator check failed for prop "endDate".
  3. Invalid prop: custom validator check failed for prop "value".

代码区域

the-moog
the-moog commented Jan 30, 2020

add a min() and max() property that shortcuts generating a list of events if possible.
If the Python Object model had a __min__() and __max__() this would be easier, but a min and max method is still better.

How it would work:
If the instance has a _dtstart or _until return those values instead of iterating and expanding the entire set of data.

This would be a massive speedup.

nkmanolovsumup
nkmanolovsumup commented Apr 10, 2019

Steps to reproduce

iex> t1 = "2019-04-03T21:07:45Z" |> Timex.parse!("{ISO:Extended:Z}") |> Timex.to_datetime("Europe/Berlin")
#DateTime<2019-04-03 23:07:45+02:00 CEST Europe/Berlin>
iex> Timex.day(t1)
93
iex> t2 = "2019-04-03T22:07:45Z" |> Timex.parse!("{ISO:Extended:Z}") |> Timex.to_datetime("Europe/Berlin")
#DateTime<2019-04-04 00:07:45+02:00 CEST Europe/Berlin>
iex> Timex.
bsienn
bsienn commented Oct 4, 2019

Versions

  • vue: 2.6.10
  • vue-datetime: 1.0.0-beta.10
  • luxon: 1.19.3

Description:

Feature Request

I don't see any template slot to be used to replace with default input field of datepicker.
It would be a good idea to provide a slot so we can provide ours on html for the date input field.

_What I really just want is an option to put a calendar icon to the right of date inpu

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

jeDate V6.5.0 是一款原生JS开发的 不依赖任何第三方库 大众化的日期控件,她身兼多职,虽不是万能的,但是她却是功能强大多样的美少女,她除了包含 单双面板、区域选择、 多语言、日历固定、有效无效日期、日期时间戳转换、日期加减、限制时分秒、初始化日期加减N、日期标注点、设定年月(YYYY-MM)、日期范围限制、开始日期设定、自定义日期格式、当天的前后若干天返回、时分秒选择、智能响应、自动纠错、节日识别,操作等常规功能外,根据不同的日期格式,显示不同内容,还拥有更多趋近完美的解决方案。更多的是需要你与她的亲密接触与呵护!

  • Updated Mar 13, 2019
  • JavaScript

Improve this page

Add a description, image, and links to the datetime 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 datetime topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.