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

time

Here are 1,934 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
icleolion
icleolion commented Jan 16, 2020

parseISO v2 documentation currently states

The previous parse implementation was renamed to parseISO.

parse v2 documentation currently states

Old parse was renamed to toDate. Now parse is a new function which parses a string using a provided format.

I think considering the sentence is to divert people who have previously been using v1 parse to the correct v2 equivalent, it only

apengwin
apengwin commented Feb 6, 2020
  • I have marked all applicable categories:
    • exception-raising bug
    • [ x] visual output bug
    • documentation request (i.e. "X is missing from the documentation." If instead I want to ask "how to use X?" I understand [StackOverflow#tqdm] is more appropriate)
    • new feature request
  • [ x] I have visited the [source website], and in particular
    read the [known iss
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
jquery-timeago
SphereFx
SphereFx commented Oct 24, 2019

I personally don't like the format that toLocaleString() returns (24/10/2019 2:36:56).

It would be nice if there was an option to pass its options like dateStyle: 'long', timeStyle: 'short', etc.

e.g.

$.timeago.settings.LocaleFormat = {dateStyle: 'medium', timeStyle: 'short', hour12: true};
// $(this).attr("title", date.toLocaleString(undefined, $t.settings.LocaleFormat));
``
Jenot
Jenot commented Sep 22, 2018

Feature request: I nedd (my wife needs to be honest) additional functionality - editing appointments from customers page (i.e. click customer from list on the left, select appointment from the list and click edit button). For now editing appointment is possible from calendar view only. TIA.

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.

liquidscorpio
liquidscorpio commented Dec 30, 2019

While there are some issues/PRs (#243, #284, etc.) relating to wasm, there is no specific section in documentation properly detailing steps to use it with something like wasm-pack.

For now (v0.4.10), the following code fails to compile:

extern crate wasm_bindgen;

use wasm_bindgen::prelude::*;
use chrono::{NaiveDate};

#[wasm_bindgen]
pub struct Request {
    date: NaiveDat
phueper
phueper commented Oct 12, 2017

In PR #188 we so aw, that users not familiar with the threeten/joda API consider our overloaded functions (e.g. Year.now0, Year.nowClock, ...) to be public API

It is important to us to change the threeten API as little as possible for JS, so we do not consider these public.

While we know that we cannot stop people from using the functions, we want to make it clear, that rather the ove

Improve this page

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

Learn more

You can’t perform that action at this time.