Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed AM/PM time without "AM/PM" sign to 24H format #61

Closed
wants to merge 1 commit into from

Conversation

zilm13
Copy link

@zilm13 zilm13 commented Jul 8, 2014

Here is an issue: you use AM/PM 12H format for date but AM/PM is not displayed. Moreover, if you open any entity to edit, datetime field will be filled with time without AM/PM in 12H format, so after save if it's PM it will flush to AM. Here's a small fix: just moved to 24H format.

@knownasilya
Copy link

This is a workaround and not really a fix, and I'm sure that's the reason for no activity on this PR.

@simov
Copy link
Owner

simov commented Aug 5, 2014

It is a workaround but it certainly fix a present bug (at least partially) I just want to think about this a bit more.

@simov
Copy link
Owner

simov commented Sep 11, 2014

Hey, @zilm13

You was totally correct about your fixes. I was just considering the possibility to make the formatting configurable for the end user. Unfortunately there are some inconsistencies between the format that moment.js uses and the one used in the datetimepicker plugin. So I'm dropping this feature for now.

So your fixes are added 66c3931...532b672 even though I wasn't able to merge your pull request directly, because I moved quite a few files lately.

Besides that I added i18n support for the datetimepicker as well.

🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants