Results 1 to 2 of 2

Thread: Help with Date Zimlet - pt_BR - Accents

  1. #1
    mrspy is offline Starter Member
    Join Date
    Apr 2009
    Rep Power

    Exclamation Help with Date Zimlet - pt_BR - Accents

    I am making small adjustments in Date Zimlet file, but i have some problems.


    Match "amanhã" to tomorrow

    I have:

    format2.pattern = amanh\u00e3
    format2.rule = now +1 day
    format2.boundary = true

    But is not working

    Another exemple:

    Match "Última quarta-feira" or "Última quarta" or "Último domingo", etc...

    format5.pattern = \u00fAltim(a|o) {dayname}(-feira)?
    format5.rule = now -1 {dayname}
    format5.boundary = true

    And this is not working too...

    But another entrie works.

    Match "Próximo domingo" or "Próxima quarta-feira" or "Esta próxima segunda", etc...

    format4.pattern = (est(a|e)|pr\u00f3xim(o|a)) {dayname}(-feira)?
    format4.rule = now +1 {dayname}
    format4.boundary = true

    This entry work

    Any sugestion?

    Sorry about my bad english

  2. #2
    cvidal is offline Project Contributor
    Join Date
    Dec 2005
    Rep Power


    Try with quotes. The zimlets are Javascript, so you have to convince the parser that what you have is a string. Try:
    ... pattern = '\u00faltim' + '(a|o) ....'

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Date Zimlet speaks French
    By cvidal in forum I18N/L10N - Translations
    Replies: 4
    Last Post: 10-20-2006, 02:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts