Can't configure time.ON test license

Hi,

I just added for testing the time.ON plugin incl. the test license but when I click on configure in the Plugin Manager I just get a message to do it in the Plugin Manager with a link that leads at last back to the previouse page?

Quite confusing it because it is a circle and I always return to the plugin manager.

I'd like to test it but without configuration I gues it is not possible.


Asking greetings

Reiner

2 answers

O.k. I took a look at the Java source code and can just say that it is terrible!

As a software developer with now about 20 years experience IMHO I'm able to say that I'm annoyed. All over the source code are fixed date/datetime strings for Java and JavaScript.

And then the "streams-gadget-resources\src\main\resources\js\datejs\globalization\de-DE.js" is wrong!

This is not the right translation for German!

Here is the right one. Take a look especiall at the regexPatterns from "future" to "year", and the future strings, even if they are currently not used. I removed some of the comments over here.

Date.CultureInfo = {
	/* Culture Name */
    name: "de-DE",
    englishName: "German (Germany)",
    nativeName: "Deutsch (Deutschland)",
    
    /* Day Name Strings */
    dayNames: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
    abbreviatedDayNames: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
    shortestDayNames: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
    firstLetterDayNames: ["S", "M", "D", "M", "D", "F", "S"],
    
    /* Month Name Strings */
    monthNames: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
    abbreviatedMonthNames: ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],

	/* AM/PM Designators */
    amDesignator: "",
    pmDesignator: "",

    firstDayOfWeek: 1,
    twoDigitYearMax: 2029,
    
    dateElementOrder: "dmy",
    
    /* Standard date and time format patterns */
    formatPatterns: {
        shortDate: "dd.MM.yyyy",
        longDate: "dddd, d. MMMM yyyy",
        shortTime: "HH:mm",
        longTime: "HH:mm:ss",
        fullDateTime: "dddd, d. MMMM yyyy HH:mm:ss",
        sortableDateTime: "yyyy-MM-ddTHH:mm:ss",
        universalSortableDateTime: "yyyy-MM-dd HH:mm:ssZ",
        rfc1123: "ddd, dd MMM yyyy HH:mm:ss GMT",
        monthDay: "dd MMMM",
        yearMonth: "MMMM yyyy"
    },

    regexPatterns: {
        jan: /^jan(uar)?/i,
        feb: /^feb(ruar)?/i,
        mar: /^märz/i,
        apr: /^apr(il)?/i,
        may: /^mai/i,
        jun: /^jun(i)?/i,
        jul: /^jul(i)?/i,
        aug: /^aug(ust)?/i,
        sep: /^sep(t(ember)?)?/i,
        oct: /^okt(ober)?/i,
        nov: /^nov(ember)?/i,
        dec: /^dez(ember)?/i,

        sun: /^sonntag/i,
        mon: /^montag/i,
        tue: /^dienstag/i,
        wed: /^mittwoch/i,
        thu: /^donnerstag/i,
        fri: /^freitag/i,
        sat: /^samstag/i,

        future: /^nächste(r|n)?|kommende(r|n)?/i,
        past: /^letzte(r|n)?|vergangene(r|n)?/i,
        add: /^(\+|nach|in|von)/i,
        subtract: /^(\-|(zu)?vor)/i, 
        
        yesterday: /^ges(tern)?/i,
        today: /^h(eu(te)?)?/i,
        tomorrow: /^mor(gen)?/i,
        now: /^j(etzt)?/i,
        
        millisecond: /^ms|milli(sekunde)?n?/i,
        second: /^sek(unde)?n?/i,
        minute: /^mn|min(ute)?n?/i,
		hour: /^std?|(stunden)?/i,
		week: /^w(che)?n?/i,
        month: /^m(onat)?e?/i,
        day: /^t(ag)?e?/i,
        year: /^j(ahr)?e?/i,
		
        shortMeridian: /^(a|p)/i,
        longMeridian: /^(a\.?m?\.?|p\.?m?\.?)/i,
        timezone: /^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,
        ordinalSuffix: /^\s*(st|nd|rd|th)/i,
        timeContext: /^\s*(\:|a(?!u|p)|p)/i
    },

	timezones: [{name:"UTC", offset:"-000"}, {name:"GMT", offset:"-000"}, {name:"EST", offset:"-0500"}, {name:"EDT", offset:"-0400"}, {name:"CST", offset:"-0600"}, {name:"CDT", offset:"-0500"}, {name:"MST", offset:"-0700"}, {name:"MDT", offset:"-0600"}, {name:"PST", offset:"-0800"}, {name:"PDT", offset:"-0700"}]
};

/********************
 ** Future Strings **
 ********************
 * 
 * English Name        Translated
 * ------------------  -----------------
 * about               etwa
 * ago                 vor
 * date                Datum
 * time                Zeit
 * calendar            Kalender
 * show                zeige
 * hourly              stündlich
 * daily               täglich
 * weekly              wöchentlich
 * bi-weekly           zweiwöchentlich
 * fortnight           zwei Wochen
 * monthly             monatlich
 * bi-monthly          zweimonatlich
 * quarter             Quartal
 * quarterly           quartalsweise
 * yearly              jährlich
 * annual              jährlich
 * annually            jährlich
 * annum               jährlich
 * again               erneut
 * between             zwischen
 * after               nach
 * from now            von jetzt
 * repeat              wiederhole
 * times               male
 * per                 pro
 * min (abbrev minute) min
 * morning             Morgen
 * noon                Mittag
 * night               Nacht
 * midnight            Mitternacht
 * mid-night           Mitternacht
 * evening             Abend
 * final               letzte
 * future              Zukunft
 * spring              Frühling
 * summer              Sommer
 * fall                Herbst
 * winter              Winter
 * end of              Ende von
 * end                 Ende
 * long                lang
 * short               kurz
 * leap year           Schaltjahr (added)
 */

I have the same issue. It's very unfortunate but I guess I'll just have to look for a different Plugin. Am glad to know that I'm not the only one with having this problem.

Regards, Michael

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,321 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you