Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateDate tag format issue in the xml #93

Open
stringfellow opened this issue Oct 30, 2014 · 7 comments
Open

CreateDate tag format issue in the xml #93

stringfellow opened this issue Oct 30, 2014 · 7 comments

Comments

@stringfellow
Copy link

From [email protected] on May 29, 2014 22:14:59

For the map catlogue createdate tag to work correct the date needs to be shown as yyyy-mm-dd NOT dd/mm/yyyy as it is currently showing (or at least it has for the Serbia mission). The map catalogue parses the xml date as 0000-00-00 which means the latest maps do not show in the correct location and a manual edit has to be made.

Original issue: http://code.google.com/p/mapaction-toolbox/issues/detail?id=93

@stringfellow
Copy link
Author

From [email protected] on June 19, 2014 02:20:32

It'll be good to see progress on this, as it affects every map upload on every deployment, and the manual edit needed to correct the problem is generally missed by SB. Many thanks for work on this.

@stringfellow
Copy link
Author

From [email protected] on June 19, 2014 02:23:56

Example from XML file:
18/06/2014
Picked up in Joomla as:
0000-00-00 00:00:00
Displayed on map catalogue as:
30 November -0001
Edited in Joomla to:
2014-06-18 00:00:00

@stringfellow
Copy link
Author

From [email protected] on August 12, 2014 03:50:05

Fix as per the instructions from those who logged the issue. Example output from my test run just now 2014-08-12 08:13:59. Needs testing in the MapCatalog now, which should be a priority - as already pointed out, this is a minor issue but a major annoyance to deployed staff.

Status: Fixed

@stringfellow
Copy link
Author

From [email protected] on August 16, 2014 07:37:47

Date format is fixed as requested.
Not sure about the time element of the createdate though.
The xml now shows
2014-08-16 03:29:37
15:29
The createtime is correct but how is the time element of the createdate formatted?
Testing of upload to map catalog still to be completed.

@stringfellow
Copy link
Author

From [email protected] on August 16, 2014 08:21:16

Testing of upload to MapCatalog done, uploaded to here: http://www.mapaction.org/map-catalogue/mapdetail/3448.html The date definitely passes correctly.
There is still some question on time formats being used in various places; which one is used to order the map catalog?
-1 time element seems to either be 12 hours behind or else is in am/pm
-2 time element is 24 hour and is correct and unambiguous
-3 there is also a date element showing in the map catalog that has a time element that is always 00:00:00 e.g. 2014-08-16 00:00:00

@stringfellow
Copy link
Author

From [email protected] on August 16, 2014 09:17:44

Status: Started

@macsims1
Copy link

Testing version 3,1,5429.42421 and answers some of Claire's points above.

  1. Yes getting the same issue - needs to be 24hr format
  2. Agreed
  3. The createdate tag needs to read - 2014-11-17 16:40:48. This is the one the tag that sorts everything in the map catalogue so needs to be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants