Skip to content

Commit

Permalink
date.xml replace the DateTime::format method by interface method
Browse files Browse the repository at this point in the history
  • Loading branch information
mumumu committed Sep 1, 2024
1 parent bd4aec1 commit 0fb2ac7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/datetime/functions/date.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 7f385d3239d0df073e2208fb0c3c243ef13553bb Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: d94400847cec608f93830aa85e0761b97d7cb9bf Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,takagi,mumumu -->
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand Down Expand Up @@ -47,8 +47,8 @@
<function>date</function> 関数は、マイクロ秒については常に
<literal>000000</literal> を生成します。
というのも、この関数が受け取るパラメータは int 型だからです。
一方 <classname>DateTime</classname> をマイクロ秒つきで作成した場合は
<methodname>DateTime::format</methodname> はマイクロ秒にも対応しています。
一方 <classname>DateTimeInterface</classname> 型のオブジェクトをマイクロ秒つきで作成した場合は
<methodname>DateTimeInterface::format</methodname> はマイクロ秒にも対応しています。
</simpara>
</note>
</listitem>
Expand Down

0 comments on commit 0fb2ac7

Please sign in to comment.