Overview
| Artifact ID: | 9033833640d2c7601e881b3071f040ed0d32fc21 |
|---|---|
| Ticket: | 958bc05fbe38c74f73589eb48522a5ea8d96cc4a
"clock format" with "%R" and "%r" mismatch |
| User & Date: | Martin0815 on 2014-05-13 07:45:45 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/html"
- comment changed to:
<h3>Bug</h3> The bug is, that the <code>%r</code> (AM/PM) clock format result contains seconds, while the format result with <code>%R</code> does <strong>not</strong> contain seconds. <h3>Excerpt from the docs:</h3> <blockquote> <dl> <dt>%r</dt> <dd>On output, produces a locale-dependent time of day representation on a 12-hour clock. On input, accepts whatever %r produces.</dd> <dt>%R</dt> <dd>On output, produces a locale-dependent time of day representation on a 24-hour clock. On input, accepts whatever %R produces.</dd> </dl> </blockquote> <h3>Example code:</h3> <pre><code> % info patch 8.6.1 % set secs 986140861 986140861 % clock format $secs -format %R 18:01 % clock format $secs -format %r 06:01:01 pm </code></pre> - foundin changed to: "8.6.1"
- is_private changed to: "0"
- login: "Martin0815"
- priority changed to: "5 Medium"
- private_contact changed to: "be10c68edb35fa3f93c8cac6f2c0d27dc3933920"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "Martin0815"
- subsystem changed to: "16. Commands A-H"
- title changed to: ""clock format" with "%R" and "%r" mismatch"
- type changed to: "Bug"