Skip to content

Commit 24a12af

Browse files
committed
added docs on submitting logs without time; closes #358
1 parent 6e526a9 commit 24a12af

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

okapi/services/logs/submit.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@
4545
<p>A date and time string. This should be in ISO 8601 format (currently any
4646
format acceptable by PHP's <a href='http://php.net/manual/function.strtotime.php'>strtotime</a>
4747
function also will do, but most of them don't handle time zones properly,
48-
try to use ISO 8601!).</p>
48+
try to use ISO 8601!). You MAY and are encouraged to omit the time and just
49+
submit a date (yyyy-mm-dd) if the time is unknown or shall not be disclosed.</p>
50+
4951
<p>Indicates when the cache was found. If given, the log will be published
5052
with the given date and time. If not, log will be published using the current
51-
date and time.</p>
53+
date and time. If only the date is given, OKAPI will publish the log in a way
54+
which most closely resembles "no time given"
55+
(<a href="https://github.com/opencaching/okapi/issues/358">more info</a>).</p>
5256
</opt>
5357
<opt name='password'>
5458
<p>Some caches require a password in order to submit a "Found it" log entry.

0 commit comments

Comments
 (0)