Subscribe

iso 8601 date format

  1. 2011-12-23 19:23:22 PST
    Hi Ben. I used to be able to launch launch rssowl with the command line to get what I want, viz ,/usr/bin/rssowl' -vmargs -DshortDateFormat="yy-MM-dd" -DlongDateFormat="yyyy-MM-dd" -DshortTimeFormat="HH:mm" That hasn't worked for a long time. How can I get YYYY-MM-DDThh:mm without have to mess with my locale or language settings? I think I asked a similar question a few years back. So, I suppose the -vmargs line is something you suggested at that time.
  2. 2012-01-07 01:41:56 PST
    Yes, see http://www.rssowl.org/help#item_9
  3. 2012-01-08 05:58:00 PST
    Hi. I'm very enthousiastic about RSSOwl, so I would very much like this to work, but unfortunately it doesn't, on my MacOSX 10.5.8. Running the "open" command as indicated in the help#item_9 returns an error: open: unrecognized option `--args' Usage: open [-e] [-t] [-f] [-W] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] It then continues to show usage information about "open". I tried running it from a shell script, I tried many quoting variations, nothing gets rid of the usage error. Is there a possibility to add this as an option in the application preferences? Is there maybe another way, e.g. to let RSSOwl read from a configuration file? Kind regards, basa.
  4. 2012-01-08 08:45:56 PST
    You can also add these parameters if you edit the info.plist file inside the application bundle!
  5. 2012-01-08 09:39:38 PST
    Hi. That's great. I think... I have no idea what key to add to the info.plist file, and where to add it. I'm also concerned about what will happen with a software update. Will the changes be lost? Will the changes hinder the update? Below is what the info.plist file contains. Could you provide the code that should be added to supply the "-DshortDateFormat" parameter with some meaningful value? The rest should be merely repetition, I guess. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">; <plist version="1.0"> <dict> <key>CFBundleExecutable</key> <string>RSSOwl</string> <key>CFBundleGetInfoString</key> <string>Eclipse 3.7 for Mac OS X, Copyright IBM Corp. and others 2002, 2011. All rights reserved.</string> <key>CFBundleIconFile</key> <string>rssowl.icns</string> <key>CFBundleIdentifier</key> <string>org.eclipse.eclipse</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>RSSOwl</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>3.7</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>3.7</string> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleLocalizations</key> <array> <string>ar</string> <string>cs</string> <string>da</string> <string>el</string> <string>en</string> <string>es</string> <string>de</string> <string>fi</string> <string>fr</string> <string>hu</string> <string>it</string> <string>iw</string> <string>ja</string> <string>ko</string> <string>nl</string> <string>no</string> <string>pl</string> <string>pt_BR</string> <string>pt</string> <string>ru</string> <string>sv</string> <string>tr</string> <string>zh_HK</string> <string>zh_TW</string> <string>zh</string> <key>WorkingDirectory</key> <string>$APP_PACKAGE/Contents/Resources/Java</string> </array> <key>Eclipse</key> <array> <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options: <string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java</string> <string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java</string> --> <string>-startup</string> <string>$APP_PACKAGE/Contents/Resources/Java/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar</string> <string>--launcher.library</string> <string>$APP_PACKAGE/Contents/Resources/Java/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.1.100.v20110502/eclipse_1406.so</string> <string>-keyring</string><string>~/.eclipse_keyring</string> <string>-showlocation</string> <!-- WARNING: If you try to add a single VM argument (-vmargs) here, *all* vmargs specified in eclipse.ini will be ignored. We recommend to add all arguments in eclipse.ini --> <key>WorkingDirectory</key> <string>$APP_PACKAGE/Contents/Resources/Java</string> </array> </dict> </plist> Kind regards, basa.
  6. 2012-01-09 09:25:21 PST
    Help is greatly appreciated. Anybody?
  7. 2012-01-09 13:02:46 PST
    Ah you can also add that to RSSOwl.ini
  8. 2012-01-09 13:53:59 PST
    Hi. Yes that works great! I'm very happy with he solution. For the record: On MacOSX 10.5.8, the file "...../RSSOwl.app/Contents/MacOS/RSSOwl.ini" on my system now contains the following: -vmargs -Xms15m -Xmx192m -Dosgi.requiredJavaVersion=1.5 -Djava.util.Arrays.useLegacyMergeSort=true -Duser.timzone=Europe/Amsterdam -DshortDateFormat=yyyy-MM-dd -DlongDateFormat=yyyy-MM-dd -DshortTimeFormat=HH:mm Thanks a lot for the support! Kind regards, basa.
  9. 2012-01-09 15:30:02 PST
    Or, to display all date values as ISO 8601 date/time notations, the last three lines should read: -DshortDateFormat=yyyy-MM-dd HH:mm -DlongDateFormat=yyyy-MM-dd HH:mm -DshortTimeFormat=yyyy-MM-dd HH:mm ; )
  10. 2012-01-09 22:48:54 PST
    Ok good!
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.