fix ->local-timestamp so it actually returns local timestamp strings

This commit is contained in:
Gered 2014-08-06 10:02:11 -04:00
parent 89b17de037
commit 5830d01c23
2 changed files with 2 additions and 2 deletions

View file

@ -216,7 +216,7 @@ into properly formatted ISO date/time strings that match FHIR specifications:
| Function | Format | Example output
|----------|--------|---------------
| `->timestamp` | `yyyy-MM-dd'T'HH:mm:ssXXX` | `2014-08-05T10:49:37-04:00`
| `->local-timestamp` | `yyyy-MM-dd'T'HH:mm:ss` | `2014-08-05T10:49:37-04:00`
| `->local-timestamp` | `yyyy-MM-dd'T'HH:mm:ss` | `2014-08-06T10:01:22`
| `->date` | `yyyy-MM-dd` | `2014-08-05`
##### Search Results

View file

@ -27,7 +27,7 @@
will not include any timezone information and so is appropriate for local timezone
date/times only."
[^Date date]
(format-date date iso8601-timestamp))
(format-date date iso8601-local-timestamp))
(defn ->date
"returns an ISO8601 formatted date string for the given date object"