Giter Site home page Giter Site logo

Missing space before timezone about watermark HOT 5 OPEN

rasbt avatar rasbt commented on July 23, 2024
Missing space before timezone

from watermark.

Comments (5)

rasbt avatar rasbt commented on July 23, 2024

I think you are right! I think the UTC format itself doesn't use a space but for "UTC" in the string, there should be a space:

Screen Shot 2020-12-04 at 9 15 52 AM

Source: https://www.utctime.net

from watermark.

jamesmyatt avatar jamesmyatt commented on July 23, 2024

I think "Z" is just a special code for "+0000": https://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC

i.e. the UTC format has a "Z" at the end to indicate that it's UTC

from watermark.

jamesmyatt avatar jamesmyatt commented on July 23, 2024

Also, I think that https://www.utctime.net/ is right that there ought to be a comma after the weekday too. And also, international format is always day-month-year or year-month-day.

Finally, I think US format would require a comma between the day and year too.

from watermark.

jamesmyatt avatar jamesmyatt commented on July 23, 2024

To be honest, my preference out of all of the options shown on https://www.utctime.net/ for human readability, is RFC1123 (or RSS) best, because it has consistent use of short name and a 4 digit year.

If you're doing to use the long name for the time zone, then why not the long name for the weekday and the month too? Plus 4 digit years are mandatory in a post-y2k age.

from watermark.

rasbt avatar rasbt commented on July 23, 2024

To be honest, originally I made this without being aware of the different time zone formats, which is why it's no particular one. I like the RFC1123 best as well. It contains all the info in a readable order.

PS: There is a separate watermark option for the ISO format (-i, --iso8601). I think it is a good format for parsing purposes but not that readable.

from watermark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.