Hi Ross,

thanks for your reply.

2016-08-13 0:12 GMT+02:00 Ross Berteig <[email protected]>:

> For fun, you can try feeding things to the test-date-format command:
>
> $ fossil test-date-format now
> now -> 2016-08-12T21:51:51.775
>
> $ fossil test-date-format "2016-08-01 09:00:00-07:00"   # PDT
> 2016-08-01 09:00:00-07:00 -> 2016-08-01T16:00:00.000
>
> $ fossil test-date-format "2016-08-01 09:00:00Z"        # Explicit UTC
> 2016-08-01 09:00:00Z -> 2016-08-01T09:00:00.000

Nice, good to know.

As child from hell: ;)
$> fos test-date-format 2013-02-31
2013-02-31 -> 2013-02-31T00:00:00.000

$> fos test-date-format "2013-02-31 14:33:02 +00:00"
2013-02-31 14:33:02 +00:00 -> 2013-02-31T14:33:02.000

$> fos test-date-format "2013-02-31 14:33:02 +00:01"
2013-02-31 14:33:02 +00:01 -> 2013-03-03T14:32:02.000

$> fos test-date-format "2013-02-31 14:33:02 +14:55"
2013-02-31 14:33:02 +14:55 -> 2013-03-02T23:38:02.000

Thanks for your explanations,
Kain
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to