funtrix Posted April 27, 2013 Share Posted April 27, 2013 (edited) Hi! I've just made a simple workflow of my Alfred 1 extension to show the current calendar week, grab it here: http://uwh.se/alfred-current-calendar-week.html Read this: The current timezone is set to Europe/Stockholm, please change it to your own after downloading the workflow. Edit: I've created two different alternatives, you can either choose to show the result as an inline result or an notification. Best Regards. Edited March 15, 2014 by funtrix Link to comment
tschoof Posted April 27, 2013 Share Posted April 27, 2013 Nice! Say, would it be hard to show the week inline, in the results instead of in a notification? Link to comment
funtrix Posted April 27, 2013 Author Share Posted April 27, 2013 Nice! Say, would it be hard to show the week inline, in the results instead of in a notification? I've now updated the page with two different alternatives. Just download the inline version instead! Link to comment
tschoof Posted April 27, 2013 Share Posted April 27, 2013 I've now updated the page with two different alternatives. Just download the inline version instead! thank you very much Link to comment
Tyler Eich Posted April 27, 2013 Share Posted April 27, 2013 Hi! I've just made a simple workflow of my Alfred 1 extension to show the current calendar week, grab it here: http://www.uwh.se/alfred-current-calendar-week.html Read this: The current timezone is set to Europe/Stockholm, please change it to your own after downloading the workflow. Edit: I've created two different alternatives, you can either choose to show the result as an inline result or an notification. Best Regards. Have you tried using the 'date' command line utility instead of the PHP function? It would prevent users from needing to input their timezone manually. The shell command $ date "+%U" would output the week number Link to comment
Rickard Posted November 26, 2013 Share Posted November 26, 2013 Have you tried using the 'date' command line utility instead of the PHP function? It would prevent users from needing to input their timezone manually. The shell command $ date "+%U" would output the week number In Sweden (and some other places) you would probably want to use the "ISO week number": $ date "+%V" Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now