On Mon, Jan 30, 2012 at 12:32 PM, Daryl Herzmann wrote:
> On Sun, Jan 29, 2012 at 10:10 PM, C M wrote:
> > If I use the DateFormatter, like this:
> >
> > mydateformatter =
>
> >
> > I'll get dates like (note the time part):
> >
> > Nov 27 2011
> > 03:00 PM
> >
> > Instead, I'd like to lose the z
On Sun, Jan 29, 2012 at 10:10 PM, C M wrote:
> If I use the DateFormatter, like this:
>
> mydateformatter =
>
> I'll get dates like (note the time part):
>
> Nov 27 2011
> 03:00 PM
>
> Instead, I'd like to lose the zero on times, like:
>
> Nov 27 2011
> 3:00 PM
>
> Is there a way to do that?
If I use the DateFormatter, like this:
mydateformatter = DateFormatter("%b%d \n %I:%M%p", self._tz)
I'll get dates like (note the time part):
Nov 27 2011
03:00 PM
Instead, I'd like to lose the zero on times, like:
Nov 27 2011
3:00 PM
Is there a way to do that?
Thanks,
Che