hey there,

I seem to be unable to find July on date browser.

I built a calendar with a date browser on top and it displays correctly from January through June in any given year.

but once the argument is 2009-07, it shows "August 2009". 2009-08 is "September" etc. until 2009-12 which displays NULL.

I've also noticed the calendar matches the month even though the title doesn't, so I guess it's date browser who's to blame for this.

I can provide more info on installed modules, Drupal core version etc. if you need. I can also apply patches if there's any.

cheers,
Luciano

CommentFileSizeAuthor
#4 date_api.pt-br.po9.62 KBluco

Comments

luco’s picture

oh and confirming... I HAVE tried all seven steps, both for calendar AND date API.

one more thing I noticed - I use calendar pop-up for easier field input.

when submitting a new date-enabled content, the pop-up calendar is *also* wrong from 07 through 12 (meaning 07 is "August", 08 is "September" ... till 12 which reads "NULL").

displaying the date in short format clears that, though, since it's strictly numeric.

luco’s picture

Status: Active » Fixed

got it!

actually, there was an EIGHTH step. I forgot to take other modules into consideration.

there was no conflict, it's my fault.

I used i18n's string translate to make only small, needed translations. so when I translated month names, which are separated by pipes (" | "), I accidentally forgot to place July between June and August.

duh!

sorry to bother you with such newbiness.

cheers,
Luciano

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

luco’s picture

StatusFileSize
new9.62 KB

actually, scratch that. there is an error in line #204 of the PO file. here's a corrected version.

rodrixXx’s picture

Title: date browser doesn't like July » Include the fix
Status: Closed (fixed) » Fixed

Inporting this .po file solve the translation mistake. Please include this in next version of date module.

arlinsandbulte’s picture

Title: Include the fix » Translation fix (Brazilian Portuguese)
Status: Fixed » Reviewed & tested by the community

to remind someone to commit.
Assuming RTBC from #5

oda’s picture

there is also a missing "!" at line 184.

karens’s picture

Any translator can make this fix.

luco’s picture

sure, KarenS - we just need you to include the revised translations on the next release, if you please. :]

karens’s picture

Status: Reviewed & tested by the community » Fixed

A reminder, translators can do their own committing, but committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.