A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/7de1844c6d5c0014d25c930527a7fc49a2b0cc25 below:

month formatting for ceratin dates (#5911) · bootstrap-vue/bootstrap-vue@7de1844 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-1

lines changed Original file line number Diff line number Diff line change

@@ -356,7 +356,10 @@ export const BCalendar = Vue.extend({

356 356

return this.activeDate.getMonth()

357 357

},

358 358

calendarFirstDay() {

359 -

return createDate(this.calendarYear, this.calendarMonth, 1)

359 +

// We set the time for this date to 12pm to work around

360 +

// date formatting issues in Firefox and Safari

361 +

// See: https://github.com/bootstrap-vue/bootstrap-vue/issues/5818

362 +

return createDate(this.calendarYear, this.calendarMonth, 1, 12)

360 363

},

361 364

calendarDaysInMonth() {

362 365

// We create a new date as to not mutate the original

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4