You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by DImuthu Upeksha <di...@gmail.com> on 2013/07/18 11:16:02 UTC

[Android Viewer] Date format problem

Hi Dan
I'm still stuck at invoking newToDo action.
http://localhost:8080/restful/services/toDoItems/actions/newToDo/invoke
What is the format of date I need to put in to value "dueBy"? I tried some
formats but it didn't work.

Formats I used
[2015,07,07]
["2015","07","07"]
"2015-07-07"
2015-07-07

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 {
"description": {
"value": "Dim 5"
},
"category": {
"value": "Professional"
},
"dueBy": {
"value": null // What is the format??
},
"cost": {
"value": "21.2"
}
}

Thnx
Dimuthu

-- 
Regards

W.Dimuthu Upeksha
Undergraduate
Department of Computer Science And Engineering

University of Moratuwa, Sri Lanka

Re: [Android Viewer] Date format problem

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
ISO 8601 [1].  I think it's documented in the RO spec somewhere in one of
the earlier chapters.

[1] https://en.wikipedia.org/wiki/ISO_8601



On 18 July 2013 10:16, DImuthu Upeksha <di...@gmail.com> wrote:

> Hi Dan
> I'm still stuck at invoking newToDo action.
> http://localhost:8080/restful/services/toDoItems/actions/newToDo/invoke
> What is the format of date I need to put in to value "dueBy"? I tried some
> formats but it didn't work.
>
> Formats I used
> [2015,07,07]
> ["2015","07","07"]
> "2015-07-07"
> 2015-07-07
>
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>  {
> "description": {
> "value": "Dim 5"
> },
> "category": {
> "value": "Professional"
> },
> "dueBy": {
> "value": null // What is the format??
> },
> "cost": {
> "value": "21.2"
> }
> }
>
> Thnx
> Dimuthu
>
> --
> Regards
>
> W.Dimuthu Upeksha
> Undergraduate
> Department of Computer Science And Engineering
>
> University of Moratuwa, Sri Lanka
>