aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-02-21 00:52:32 +0100
committerSem <sembrestels@riseup.net>2013-02-21 00:52:32 +0100
commit9cffddf0969ee63002c2a6c3574bdc796849e9ee (patch)
treefe54c11998ad4bfdbb741f8605c0c245ad35b2da
parentc6bf8d8ab9463722da4e1e0323c3383e08b8924e (diff)
downloadelgg-9cffddf0969ee63002c2a6c3574bdc796849e9ee.tar.gz
elgg-9cffddf0969ee63002c2a6c3574bdc796849e9ee.tar.bz2
Using ISO 8601 in time datetime attribute.
-rw-r--r--manifest.xml8
-rw-r--r--views/default/output/friendlytime.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/manifest.xml b/manifest.xml
index 3f874d3bf..8b01d421e 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8">
<name>HTML5</name>
- <author>Evan Winslow</author>
- <version>1.0</version>
+ <author>Evan Winslow and Lorea Developers</author>
+ <version>1.1</version>
<description>
Provides several javascript libraries + views that allow developers to start using HTML5 features in Elgg today.
</description>
<copyright>(C) Evan Winslow 2010</copyright>
<website>http://github.com/ewinslow/elgg-html5</website>
<requires>
- <type>elgg_version</type>
- <version>2011031400</version>
+ <type>elgg_release</type>
+ <version>1.8</version>
</requires>
</plugin_manifest> \ No newline at end of file
diff --git a/views/default/output/friendlytime.php b/views/default/output/friendlytime.php
index c9c74e880..b752b74ce 100644
--- a/views/default/output/friendlytime.php
+++ b/views/default/output/friendlytime.php
@@ -8,6 +8,6 @@
$friendly_time = elgg_get_friendly_time($vars['time']);
$timestamp = htmlentities(date(elgg_echo('friendlytime:date_format'), $vars['time']));
-$datetime = htmlentities(date("Y-m-d h:m", $vars['time']));
+$datetime = htmlentities(date("c", $vars['time']));
echo "<time title=\"$timestamp\" datetime=\"$datetime\" class=\"timestamp\">$friendly_time</time>";