Hi
Normally I wouldn't ask about a template issue, but I'm looking for something that I think would have already been done somewhere. I'm using a Semantic Inputs time picker inside a Semantic Form, which only allows inputting time in a 24 hour format (commonly called military time in the US) but I need the time displayed on the wiki page to be in the AM/PM 12 hour format. I would think somewhere there's a simple template wiki syntax already created to do this, but I was surprised to find when I Googled that nothing really fit. So before I spend time figuring it out I wanted to make sure I'm not re-inventing the wheel.
On another matter, got a message that seemed to be from this list about someone friending me. Hopefully this spam virus is from an individual, and not this list, but anyways thought everyone should be aware of this. The url directs to infoaxe, which from Googling I found was a common virus site.
Sent from my iPad
I received and email of someone friending me as well
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Chris Tharp Sent: Thursday, October 09, 2014 1:05 PM To: MediaWiki announcements and site admin list Subject: [MediaWiki-l] Changing 24 clock to 12 hour clock on wiki page
Hi
Normally I wouldn't ask about a template issue, but I'm looking for something that I think would have already been done somewhere. I'm using a Semantic Inputs time picker inside a Semantic Form, which only allows inputting time in a 24 hour format (commonly called military time in the US) but I need the time displayed on the wiki page to be in the AM/PM 12 hour format. I would think somewhere there's a simple template wiki syntax already created to do this, but I was surprised to find when I Googled that nothing really fit. So before I spend time figuring it out I wanted to make sure I'm not re-inventing the wheel.
On another matter, got a message that seemed to be from this list about someone friending me. Hopefully this spam virus is from an individual, and not this list, but anyways thought everyone should be aware of this. The url directs to infoaxe, which from Googling I found was a common virus site.
Sent from my iPad _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi Chris,
I guess the time picker can be configured somehow. To convert template parameters between time formats, you can use #time:
http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23time
Cheers,
Markus
On 09.10.2014 19:04, Chris Tharp wrote:
Hi
Normally I wouldn't ask about a template issue, but I'm looking for something that I think would have already been done somewhere. I'm using a Semantic Inputs time picker inside a Semantic Form, which only allows inputting time in a 24 hour format (commonly called military time in the US) but I need the time displayed on the wiki page to be in the AM/PM 12 hour format. I would think somewhere there's a simple template wiki syntax already created to do this, but I was surprised to find when I Googled that nothing really fit. So before I spend time figuring it out I wanted to make sure I'm not re-inventing the wheel.
On another matter, got a message that seemed to be from this list about someone friending me. Hopefully this spam virus is from an individual, and not this list, but anyways thought everyone should be aware of this. The url directs to infoaxe, which from Googling I found was a common virus site.
Sent from my iPad _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org