[phobos] [D-Programming-Language/phobos] 7ded5f: Rename SimpleTimeZone.to/fromISOString to to/fromI...

GitHub via phobos phobos at puremagic.com
Thu Mar 10 09:02:08 PST 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 7ded5fcf686c988c4d26869ac0e16a1fd0e5a446
      https://github.com/D-Programming-Language/phobos/commit/7ded5fcf686c988c4d26869ac0e16a1fd0e5a446
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2016-02-07 (Sun, 07 Feb 2016)

  Changed paths:
    M std/datetime.d

  Log Message:
  -----------
  Rename SimpleTimeZone.to/fromISOString to to/fromISOExtString.

This is per issue# 15654.


  Commit: 0faa191fc80dc3d0e67de5f5e83bd805c2eab794
      https://github.com/D-Programming-Language/phobos/commit/0faa191fc80dc3d0e67de5f5e83bd805c2eab794
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2016-02-09 (Tue, 09 Feb 2016)

  Changed paths:
    M std/datetime.d

  Log Message:
  -----------
  Fix issue# 15655.

SysTime.from*String accepted single digit time zones and minutes > 59,
which is against the ISO standard. This commit fixes that.


  Commit: 2567a2493a168343be6be3050cd4bef90b320f58
      https://github.com/D-Programming-Language/phobos/commit/2567a2493a168343be6be3050cd4bef90b320f58
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M std/datetime.d

  Log Message:
  -----------
  Fix issue# 15654: SysTime.toISOString formats time zones incorrectly.

Previously, it formatted the time zone the same as toISOExtString and
put a colon between the hours and minutes - which is correct for the ISO
extended format, but not the non-extended format. Now, it formats it
correctly per the ISO 9601 standard.

fromISOString temporarily accepts both the extended and non-extended
formats to avoid breaking any programs that have been writing out ISO
strings to read back in later, but eventually, we'll make it so that it
only accepts the non-extended format like it's supposed to.


  Commit: bbc560788f45b18041906f795e89ef7d0f01d72e
      https://github.com/D-Programming-Language/phobos/commit/bbc560788f45b18041906f795e89ef7d0f01d72e
  Author: Steven Schveighoffer <schveiguy at yahoo.com>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M std/datetime.d

  Log Message:
  -----------
  Merge pull request #3983 from jmdavis/timezone

Fix compliance issues with SysTime.to*String and SysTime.from*String.


Compare: https://github.com/D-Programming-Language/phobos/compare/04654c071d1b...bbc560788f45


More information about the phobos mailing list