View difference between Paste ID: QbGUVKGL and dk6zhG0n
SHOW: | | - or go back to the newest paste.
1
                        // no date available for the event, set the date to "unavailable"
2
                        if(the_date.contains("00"))
3-
	                    {
3+
	                {
4
	                    	the_date = "Unavailable";
5-
	                    }
5+
	                }
6
                        else
7
                        {
8
                            // convert date format to dd/mm//yyyy
9
                            String year = the_date.substring(0, 4);
10
                            String month = the_date.substring(5, 7);
11
                            String day = the_date.substring(8, 10);
12
                            the_date = day + "/" + month + "/" + year;
13
                        }