Interop problems with dates

Open
#3 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
api

Research direction

Start by comparing the JavaScript Date/toISOString behavior with the XML-RPC specification, ISO 8601, and Frontier's date-time format. Determine which representation provides the required interoperability and document the decision; the issue currently does not identify a specific file, test, or implementation change.

Written by the indexing model from the issue text.

Description

One of the things I'm learning is that there is are problems with date-time values.

The question is whether or not the date part of the date-time should have hyphens. The Frontier implementation does not. The example in the XML-RPC spec does not have hyphens.

But ISO 8601 seems to say they must be present.

The built-in JavaScript function includes the hyphens.

I don't have any other implementations that I can easily check against, so I don't know what offers the most interop with other XML-RPCs. For now I'm documenting the issue, and leaving the JavaScript implementation as it is, for now. This means in this area it does not interop with Frontier, in that Frontier will not understand the JS date-time values. Going in the other direction there is no problem, because I've included a workaround.

Dominant language
JavaScript
Stars
67
Forks
28
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scripting/xml-rpc

All issues in scripting/xml-rpc

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.