Jump to content

Jarek

Member
  • Content Count

    19
  • Joined

  • Last visited

  • Days Won

    1

Jarek last won the day on October 18 2017

Jarek had the most liked content!

About Jarek

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, Latest version can be downloaded from: https://github.com/jaroslawhartman/TimeZones-Alfred https://jhartman.pl/tag/alfred/ http://www.packal.org/workflow/timezones-2 At time of writing, v2.6 is the latest. Best regards, Jarek
  2. New version 2.4 has been released. You can pin your favourite locations to the top of the list: press Enter while holding Command key: Download version 2.4
  3. Good point. Seems it has been regressed during one of the updates. I will take a look; to have it on the radar created GitHub ticket in https://github.com/jaroslawhartman/TimeZones-Alfred/issues/6 Thank you and best regards, Jarek PS: A new version 2.1 has been created to remove dependency on Growl and improve (I hope!) adding new cites via timezone add Download version 2.1
  4. Hi Eric, Well spotted! It's fixed now. BTW: the list in version 2.0 is always sorted alphabetically. Please let me know if this is something useful. Thank you, Jarek
  5. Hi, I think I've managed to fix the workflow and adding new cities is possible again! More changes: Added a keyword to open list of the cities in an editor _timezone edit. Thanks to that you will be able to quickly delete not needed lines. When displaying the list and pressing Alt, you can remove a single city (this is fixed now) Unfortunately, you will need to create your list of cities again... But this will also clean up your list as in previous version it got messed up. Download version 2.0 I hope you will like it Note, that major parts of the app have been rewritten so I could expect also new bugs... Please let me know in such cases. Best regards, Jarek
  6. Hi, This is actually an issue, and this is pretty serious: In a short - it's caused by Google, who disabled charge-free access to their services. I'd have to find an other (free) service to provide an API to lookup for Time Zone details based on Geographical location. Until then, adding new city or update timezones will not work ? As a workaround, add a line with Boston to the config file. Open in terminal $ open -a /Applications/TextEdit.app "$HOME/Library/Application Support/Alfred 3/Workflow Data/carlosnz.timezones/timezones.txt" Add a line like: Dubai|Dubai|United Arab Emirates|25.2048493|55.2707828|14400|Asia/Dubai|Gulf Standard Time|UTC+4||971 Best regards, Jarek
  7. Hi Eric, try version 1.9 from https://jhartman.pl/2017/05/04/timezone-v1-9/ Best regards, Jarek
  8. Hi Miguel, The problem is happening around these lines: ++ curl --connect-timeout 10 -s 'https://maps.googleapis.com/maps/api/timezone/xml?location=25.2711390,55.3074850&timestamp=1524754016&sensor=false' + api_timezone= + OIFS=' ' + IFS=' ' ++ php parsexml_timezone.php '' As you see, whenever attempting to read the timezone details from the web, curl command does not return any data. I'm guessing it's exactly because of your VPN and the way, how it allows to access the Internet. Most likely, it requires a proxy. Run two tests pls: a) Open this page in a web browser (e.g. Safari or Chrome) https://maps.googleapis.com/maps/api/timezone/xml?location=-36.8484597,174.7633315&timestamp=1524754015&sensor=false b) run this in Terminal curl --connect-timeout 10 -s 'https://maps.googleapis.com/maps/api/timezone/xml?location=-36.8484597,174.7633315&timestamp=1524754015&sensor=false' Both should generate similar results, but I'm afraid the second returns just nothing. If this is really because of the proxy, in a first step you would need to find out what the proxy is (this depends on you VPN provider or your IT). Then, let's make a test in Terminal: export http_proxy=http://<proxy>:<port>/ curl --connect-timeout 10 -s 'https://maps.googleapis.com/maps/api/timezone/xml?location=-36.8484597,174.7633315&timestamp=1524754015&sensor=false' Of course, you need to change http://<proxy>:<port>/ into legit proxy URL. If this time curl will return something like below: <?xml version="1.0" encoding="UTF-8"?> <TimeZoneResponse> <status>OK</status> <raw_offset>43200.0000000</raw_offset> <dst_offset>0.0000000</dst_offset> <time_zone_id>Pacific/Auckland</time_zone_id> <time_zone_name>New Zealand Standard Time</time_zone_name> </TimeZoneResponse> Then fixing will be as easy as updating includes.sh by adding the line below: #includes for TimeZones scripts #Working Directories TZWD="$HOME/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/carlosnz.timezones" TZPREFS="$HOME/Library/Application Support/Alfred 3/Workflow Data/carlosnz.timezones" CONFIG_EXTRA="$TZPREFS/configExtra" export http_proxy=http://<proxy>:<port>/ #### ADD THIS LINE WITH PROPER PROXY DETAILS I hope it will help. Jarek PS: The log you posted above is quite long, perhaps you may want to remove it from the forum and post to e,.g. https://justpaste.it/
  9. Hi Miguel, Could you please revert to the original versions and give me output from these commands. Go to the Workflows and select Open in Terminal: Then type copy and paste these lines and paste here the output: cat "$HOME/Library/Application Support/Alfred 3/Workflow Data/carlosnz.timezones/timezones.txt" cat "$HOME/Library/Application Support/Alfred 3/Workflow Data/carlosnz.timezones/configExtra" Then run: sh -x update.sh > ~/Desktop/Update.txt 2>&1 This will provide a lot of output This should create file Update.txt on your desktop - please post it here as well. Thanks and best regards, Jarek
  10. In fact, 24h format has been hardcoded into version I've tailored from CarlosNS' version. This has been updated in v1.9 which can be downloaded from http://jhartman.pl/download/alfred-timezone-workflow/ Format cab be chosen using keywords 'timezone 24h' and 'timezone 12h': Best regards, Jarek
  11. Unfortunately, this is "known issue" ☺️ Invoke "timezone update" to get all your defined locations up to date. And not forget doing it again in 6 months ☺️ Best regards, Jarek
  12. I've done small housekeeping: Changes stored to GitHub and send a pull request to the owner of the master Assigned version v1.8 (no new functionalities comparing to v3) Updated ReadMe Updates notes in my page http://jhartman.pl/tag/alfred/ Version v1.8 can be downloaded from http://jhartman.pl/files/Alfred time-zones v1.8.zip
  13. Hi, I'm trying to find how to inspect workflow Readme in Alfred 3.2.1, Build 768, but apart of direct editing of the info.plist, I can't anymore find this option in the GUI: Could you please help? Thank you and best regards, Jarek
  14. There is a problem where I don't really have a good idea how to fix: some countries (e.g. USA or UK, see the previous screenshot) does not have phone country code. Easiest way to fix is to open terminal app, execute: open "$HOME/Library/Application Support/Alfred 3/Workflow Data/carlosnz.timezones/timezones.txt" and add country code manually, after the pipe, e.g. Los angeles|Los Angeles|United States|34.0522342|-118.2436849|-28800|America/Los_Angeles|Pacific Standard Time|UTC-8|1 london|London|United Kingdom|51.5073509|-0.1277583|0|Europe/London|Greenwich Mean Time|UTC+0|44 Save the file. Cheers
×
×
  • Create New...