[all-commits] [llvm/llvm-project] d37de3: [libc++][chrono] Fixes format output of negative v...

Mark de Wever via All-commits all-commits at lists.llvm.org
Sat Apr 20 03:10:53 PDT 2024


  Branch: refs/heads/users/mordante/fixes_formatting_timepoints_before_epoch
  Home:   https://github.com/llvm/llvm-project
  Commit: d37de3bbae631f503a7b5a63504facfcb7d01fb0
      https://github.com/llvm/llvm-project/commit/d37de3bbae631f503a7b5a63504facfcb7d01fb0
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

  Changed paths:
    M libcxx/include/__chrono/formatter.h
    M libcxx/test/std/time/time.clock/time.clock.file/ostream.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.local/ostream.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.system/sys_time.ostream.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Fixes format output of negative values.

The negative values were shown as

  1900-01-01 00:01:39.-00000001

after the changes they are shown as

  1900-01-01 00:01:39.999999999



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list