steps to override MonthName

Splash Forums PrettyTime Users steps to override MonthName

This topic contains 1 reply, has 2 voices, and was last updated by  Lincoln Baxter III 5 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18373

    tcook
    Participant

    How do I go about overriding the MonthName & MonthPluralName from “month(s)” to “M” without having to create a new Resource**.java file and building a new jar?

    #22550

    You should simply be able to copy the Resource bundle into your application’s sources and make the appropriate changes. Or you can remove the Month object from the list of timeUnits and re-add your own Month object.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.