Permalink
Commits on Jun 5, 2018
  1. Merge branch 'tool/ltrcc'

    hroptatyr committed Jun 5, 2018
    * tool/ltrcc:
      chore, don't brag about tzmaps
      major, rewrite ltrcc to use Eggert's leap-seconds.list instead of the generated leapseconds
  2. Merge branch 'core/leaps'

    hroptatyr committed Jun 5, 2018
    * core/leaps:
      minor, use real-life TAI offsets with no correction terms in code
Commits on Jun 4, 2018
Commits on May 31, 2018
  1. Merge branch 'tool/dzone'

    hroptatyr committed May 31, 2018
    * tool/dzone:
      doc, clarify what the output is supposed to be with date or time only input to datezone(1)
      minor, allow dates as arguments to datezone(1)
      hygiene, simplify cases in __to_unix_epoch() of dt-core.c
  2. minor, allow dates as arguments to datezone(1)

    hroptatyr committed May 31, 2018
    The timezone offset at the end of the day will be printed.
Commits on May 30, 2018
  1. Merge branch 'tool/dzone'

    hroptatyr committed May 30, 2018
    * tool/dzone:
      hygiene, save static strings, use offset for time-only component in datezone(1) output
      minor, degrade time-only date/times in datezone to time-only in output
Commits on May 25, 2018
  1. Merge branch 'code/hygiene'

    hroptatyr committed May 25, 2018
    * code/hygiene:
      hygiene, avoid short-cut returns, use goto instead
  2. Merge branch 'bug/naught-increments'

    hroptatyr committed May 25, 2018
    * bug/naught-increments:
      fix, make 0 the neutral element of date and time addition
      test, provide regression cases for neutral addition
Commits on May 18, 2018
  1. Merge pull request #78 from shenlanting/master

    hroptatyr committed May 18, 2018
    check before operator
  2. check before operator

    shenlanting committed May 18, 2018
    Hi, I am Lanting Shen from Qihoo360 CodeSafe Team.
    We found that calling function '__get_mdays(y, m)' may return value 0, then, operation ' (md - 28U)' may cause an Arithmetic Wrap-around Error. Although there is an 'assert' check, but the check is used after operation, so I just move it before the subtraction.
Commits on May 15, 2018
  1. Merge pull request #77 from shenlanting/master

    hroptatyr committed May 15, 2018
    remove useless function
  2. remove useless function

    shenlanting committed May 15, 2018
    Hi, I am Lanting Shen from Qihoo360 CodeSafe Team.
    We found static function deconst is never been called. If this function is really not used, we can just remove it.
Commits on May 14, 2018
  1. Merge branch 'bug/76'

    hroptatyr committed May 14, 2018
    * bug/76:
      INCOMPAT, exclusively use `mo` as suffix for months, `m` as suffix for minutes, fixes issue #76
  2. INCOMPAT, exclusively use `mo` as suffix for months, `m` as suffix fo…

    hroptatyr committed May 14, 2018
    …r minutes, fixes issue #76
    
    We hereby break our promise to to disambiguate the `m` suffix when
    adding durations to date/times based on the input.
    
    This will break lines from the time when date and date/time tools were
    separate.
    
    Previously:
    
        $ dateadd 2018-02-02 +1m
        =>
          2018-03-02
    
    Becomes:
    
        $ dateadd 2018-02-02 +1mo
        =>
          2018-03-02
    
    Previously:
    
        $ dateseq 2010-01 +1m 2011-12
    
    Becomes:
    
        $ dateseq 2010-01 +1mo 2011-12
    
    The added-value of this incompatible change is that adding durations
    to mixed date and date/time input is now unambiguous, e.g.
    
        $ dateadd +2mo <<EOF
        2018-02-02
        2018-02-02T10:00
        EOF
        =>
          2018-04-02
          2018-04-02T10:00:00
    
        $ dateadd +2m <<EOF
        2018-02-02
        2018-02-02T10:00
        EOF
        =>
          2018-02-02
          2018-02-02T10:02:00
    
        $ dateadd +2mo +2m <<EOF
        2018-02-02
        2018-02-02T10:00
        EOF
        =>
          2018-04-02
          2018-04-02T10:02:00
  3. Merge branch 'bug/dseq-yrmo-iterator-helper'

    hroptatyr committed May 14, 2018
    * bug/dseq-yrmo-iterator-helper:
      fix, actually heed the iterator in dateseq with 3 arguments
  4. Merge branch 'bug/dround-dates-with-time-durs'

    hroptatyr committed May 14, 2018
    * bug/dround-dates-with-time-durs:
      fix, for roundings of time exclude date-only input
Commits on May 4, 2018
  1. Merge branch 'core/dt-io'

    hroptatyr committed May 4, 2018
    * core/dt-io:
      fix, evaluate return value of strtoi() when parsing strings through %s
      test, add regression case for stamp reader bug
  2. Merge branch 'tool/dround'

    hroptatyr committed May 4, 2018
    * tool/dround:
      minor, if parse string as date if date formatting and roundspecs coincide
Commits on Apr 23, 2018
  1. Merge branch 'bug/74'

    hroptatyr committed Apr 23, 2018
    * bug/74:
      hygiene, use colon-separated VPATH as mandated by make
      hygiene, don't use $< ($.IMPSRC) outside of transformation rules
  2. hygiene, don't use $< ($.IMPSRC) outside of transformation rules

    hroptatyr committed Apr 23, 2018
    This, in theory, should fix bug/74 and facilitate bmake builds
    from the git source checkout.