Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite801d38

Browse files
committed
Minor tweak
1 parent7eb958f commite801d38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎components/clock.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ The constructor also allows setting a timezone or custom referenced date::
232232
The ``DatePoint`` class also provides a named constructor to create dates from
233233
timestamps::
234234

235-
$dateOfFirstCommitOfSymfonyProject = DatePoint::createFromTimestamp(1129645656);
235+
$dateOfFirstCommitToSymfonyProject = DatePoint::createFromTimestamp(1129645656);
236236
// equivalent to:
237-
// $dateOfFirstCommitOfSymfonyProject = (new \DateTimeImmutable())->setTimestamp(1129645656);
237+
// $dateOfFirstCommitToSymfonyProject = (new \DateTimeImmutable())->setTimestamp(1129645656);
238238

239-
// negative timestamps (for dates before January 1, 1970) andfractional timestamps
239+
// negative timestamps (for dates before January 1, 1970) andfloat timestamps
240240
// (for high precision sub-second datetimes) are also supported
241241
$dateOfFirstMoonLanding = DatePoint::createFromTimestamp(-14182940);
242242

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp