<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Use the onSave and onOpen features to simply convert them.
Here's some example code since I had to modify the base code a little.
&lt;pre&gt;			save: function(e) {
			var time = GM_config.get(&amp;quot;time&amp;quot;).toString(),
				twentyfour = parseInt(time)+(time.indexOf(&amp;quot;pm&amp;quot;)!=-1?12:0);
			GM_config.set(&amp;quot;time&amp;quot;, twentyfour);
			},
			open: function(e) {
			var timeE = GM_config.frame.contentDocument.getElementById(&amp;quot;field_time&amp;quot;),
				time = parseInt(timeE.value),
				twelvehour = (time&amp;gt;12?time-12:time)+(time&amp;gt;12?&amp;quot;pm&amp;quot;:&amp;quot;am&amp;quot;);
			timeE.value = twelvehour;
			}&lt;/pre&gt;
Since I had to modify the base code, please update the script to &lt;code&gt;1.1.8&lt;/code&gt;.</body>
  <body-html>&lt;p&gt;Use the onSave and onOpen features to simply convert them.
&lt;br /&gt;Here's some example code since I had to modify the base code a little.
&lt;br /&gt;&lt;pre&gt;			save: function(e) {
			var time = GM_config.get(&amp;quot;time&amp;quot;).toString(),
				twentyfour = parseInt(time)+(time.indexOf(&amp;quot;pm&amp;quot;)!=-1?12:0);
			GM_config.set(&amp;quot;time&amp;quot;, twentyfour);
			},
			open: function(e) {
			var timeE = GM_config.frame.contentDocument.getElementById(&amp;quot;field_time&amp;quot;),
				time = parseInt(timeE.value),
				twelvehour = (time&amp;gt;12?time-12:time)+(time&amp;gt;12?&amp;quot;pm&amp;quot;:&amp;quot;am&amp;quot;);
			timeE.value = twelvehour;
			}&lt;/pre&gt;
&lt;br /&gt;Since I had to modify the base code, please update the script to &lt;code&gt;1.1.8&lt;/code&gt;.&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-11-06T08:19:03Z</created-at>
  <forumable-id type="integer">49700</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">187346</id>
  <topic-id type="integer">38886</topic-id>
  <updated-at type="datetime">2009-11-06T08:20:04Z</updated-at>
  <user-agent>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)</user-agent>
  <user-id type="integer">23652</user-id>
</post>
