osm-de / webtoosmoh Goto Github PK
View Code? Open in Web Editor NEWConversion of website content to OSM understood opening_hours
License: MIT License
Conversion of website content to OSM understood opening_hours
License: MIT License
Entering
Montag - Freitag 07:00 18:30, Samstag 09:00 - 14:00
results in the output of
Mo-Fr-Sa 09:00-14:00
Usually I'd expect it to output the following:
Mo-Fr 07.00-18:30; Sa 09:00-14:00;
I tried copying and pasting the hours from this web site:
https://www.24hourfitness.com/gyms/austin-tx/austin-sport
The Process button seems to work but the Convert button does not do anything.
You can try with this text:
Monday 05:00 AM - 10:00 PM
Tuesday 05:00 AM - 10:00 PM
Right now on mobile the site is relatively hard to use, but better than trying to type complicated hours into OSMand.
Would you be willing to make it fit a bit better on mobile and maybe add a copy button?
Thanks for making this it's super helpful!
http://steakhouse-wenigumstadt.de/ (bottom of page):
Montag und Dienstag Ruhetag
Mi- Sa ab 17.00 Uhr
Sonn- und Feiertag Mittagstisch ab 11.30 bis 14.00 Uhr und ab 17 Uhr
http://bachgauer-hof.de/oeffnungszeiten.htm:
Mo. - Sa. 16:30 - 22:00 Uhr So. 11:30 - 14:30 Uhr 16:30 - 22:00 Uhr Mi. & Do. Ruhetag
Both lead to wrong detected strings.
Text input
Opening hours: Monday to Friday, 11:00 a.m. to 11:30 p.m. (or earlier if not busy)
Output
Mo-Fr 11:00-11:3
Seems to be missing the trailing 0, which is valid but I think not preferable?
https://projets.pavie.info/yohours/?oh=Mo-Fr%2011:00-11:3
Um sich das Markieren des Ergebnis und den Kopierbefehl zu ersparen(zwei Tasten Strg-A und Strg-C. 😄 ), wäre eine (optionale) Auswahlmöglichkeit sinnvoll, das Ergebnis direkt ins Clipboard zu kopieren.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.